Kubuntu 10.04 and library path problems

Paul Abrahams abrahams at acm.org
Sat Dec 25 11:04:19 EST 2010


Rather that go back to the builds, I wanted to use the released version of 
2.4.  So based on information in various posts, I unpacked that version and 
did this from the directory where it was installed:

make distclean
./configure --prefix /opt/gnucash
make all install

I then ran gnucash and got:

pwa at Asus-laptop:~/Downloads/bsdiff/gnucash-2.4.0$ gnucash
gnucash: error while loading shared libraries: libgnc-qof.so.1: cannot open 
shared object file: No such file or directory

So I then tried this:

LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH gnucash

and this time gnucash worked.  But that's hardly a solution for the long term.  
Is there a cleaner fix?  Note that I already tried modifying the configuration 
as suggested by Geert Janssens a couple of days ago.


More information about the gnucash-user mailing list