Kubuntu 10.04 and library path problems

Derek Atkins derek at ihtfp.com
Sat Dec 25 11:13:42 EST 2010


Hi,

On Sat, December 25, 2010 11:04 am, Paul Abrahams wrote:
> 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.

Do you have 2.2.9 still installed via dpkg?  Did you build other
dependencies by hand instead of using the Ubuntu packages?  What do you
get from:

  find / -name libgnc-qof.so.1

Also, what do you get from:

  ldd /opt/gnucash/lib/libgnc-qof.so.1

and

  which gnucash

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek



More information about the gnucash-user mailing list