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

Anthony Dardis adardis at gmail.com
Sat Nov 13 17:34:16 EST 2010


Dear GnuCash developers,

Apologies first if I'm in the wrong place.

I'm trying to build 2.3.16 (RC1) on Ubuntu 10.04. This is the first time
I've tried to do this (other than letting Fink do it on my Mac). It builds
ok; `make check' gives errors (let me know if you want to see them); when I
type gnucash at the command line I get

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

This came up for someone else in September. Derek asked for the following
information:

ldd /usr/local/lib/libgnc-qof.so.1

linux-gate.so.1 => (0x00ea5000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x004fe000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00e8e000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x0069b000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00555000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00b45000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00c3a000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x0089e000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00110000)
libpcre.so.3 => /lib/libpcre.so.3 (0x006a7000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00549000)
/lib/ld-linux.so.2 (0x00658000)

/usr/local/lib/ has the following entries with this prefix:

ls /usr/local/lib/libgnc-q* -l
-rwxr-xr-x 1 root root 1085 2010-11-13 16:41 /usr/local/lib/libgnc-qof.la
lrwxrwxrwx 1 root root 19 2010-11-13 16:41 /usr/local/lib/libgnc-qof.so ->
libgnc-qof.so.1.0.4
lrwxrwxrwx 1 root root 19 2010-11-13 16:41 /usr/local/lib/libgnc-qof.so.1 ->
libgnc-qof.so.1.0.4
-rwxr-xr-x 1 root root 665759 2010-11-13 16:41
/usr/local/lib/libgnc-qof.so.1.0.4

Derek suggested a "--prefix build for GnuCash to make sure it's not picking
up anything from /usr/lib". I'm not sure what this would be. I tried

./configure --enable-dbi --prefix=$HOME

but I get the same error.

Thanks,

--Tony


More information about the gnucash-devel mailing list