Gnucash 2.4.0 error libgnc-qof.so.1:

Geert Janssens janssens-geert at telenet.be
Thu Dec 23 03:40:27 EST 2010


On Thursday 23 December 2010, Ken Norris wrote:
> On Ubuntu 10.04
> 
> After installing gnucash 2.4.0 according to the INSTALL instructions and
> running from command line i get
> 
> "gnucash: error while loading shared libraries: libgnc-qof.so.1: cannot
> open shared object file: No such file or directory"
> 
> gnucash will run from command line with
> 
> "LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH /usr/local/bin/gnucash"
> 
> Anyone know, preferably in very simple steps, a permanent fix for this?
> 
> thanx
> 
> Ken Norris
> 
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

The cleanest solution is to configure/build GnuCash with a prefix set to 
something other than /usr or /usr/local. These two prefixes are treated 
special by the compiler/linker and will cause interference from previously 
installed GnuCash installations.

Try something like
configure --prefix /opt/gnucash ....

Geert


More information about the gnucash-user mailing list