libgnc-qof.so.1: cannot open shared object file

Anthony Dardis adardis at gmail.com
Fri Nov 19 09:49:21 EST 2010


On Mon, Nov 15, 2010 at 10:44 AM, Derek Atkins <warlord at mit.edu> wrote:

> "Anthony Dardis" <adardis at gmail.com> writes:
>
> >> No need to rebuild. Try this:
> >> LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH /usr/local/bin/gnucash
> >>
> >> If that still doesn't work, please post the output of
> >> ldd /usr/local/bin/gnucash
> >>
> >> Regards,
> >> John Ralls
> >>
> >>
> >
> > Excellent! This worked:
> >
> > LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH /usr/local/bin/gnucash
> >
> > Thanks again.
>
> If that works, run:
>
>  find /usr -name libgnc-qof\*
>
> I bet you'll find another copy somewhere, probably in /usr.
>
> This is why I ALWAYS suggest you use a prefix:
>
>  ./configure --prefix=/opt/gnucash
>
>
>
> -derek
>
>


(a) find found:

/usr/local/lib/libgnc-qof.so.1.0.4
/usr/local/lib/libgnc-qof.so
/usr/local/lib/libgnc-qof.so.1
/usr/local/lib/libgnc-qof.la

(b) when I followed John's suggestion, GnuCash first displayed a dialogue
offering to set some paths for the installation; when I said yes, it then
found the copy of the GnuCash file that I had for the removed copy of 2.2.9.
After that, GnuCash runs fine, both from the command line, just gnucash, and
from the Gnome menu.

(c) I have sqlite3 installed, and GnuCash will save in that format. However,
when I click Save as after entering the new name, I get this message:

The file sqlite3:///home/tony/abd/GnuCash/jh.gnucash already exists. Are you
sure you want to overwrite it?

when I say yes, it saves the file under that name. (Of course, I'm supplying
new names.) I didn't see anything in Bugzilla about this.


More information about the gnucash-devel mailing list