gnucash-docs/doc-tools/dbadd.c:97: undefined reference to `__db185_open'

Graham Leggett minfrin at sharp.fm
Mon May 8 20:17:00 EDT 2006


Hi all,

While trying to build gnucash v1.9.5 under RHEL4 (with various packages 
upgraded as gnucash dependancies), I am getting the build error below.

Is there any reason why dbadd.c would be using the v1.85 interface of db?

Is there a workaround for this? My system contains the library file, I 
am confused why the symbol isn't found:

[minfrin at gatekeeper Desktop]$ ls -al /usr/lib/libdb1.so*
lrwxrwxrwx  1 root root    11 Aug 27  2004 /usr/lib/libdb1.so -> libdb1.so.2
-rwxr-xr-x  1 root root 53500 Nov 30  2004 /usr/lib/libdb1.so.2

The error is:

/bin/sh ../libtool --mode=link --tag=CC gcc  -O2 -g -pipe -m32 
-march=i386 -mtune=pentium4   -o dbadd  dbadd.o -ldb1
mkdir .libs
gcc -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -o dbadd dbadd.o  -ldb1
dbadd.o(.text+0xc5): In function `main':
/home/gatekeeper/minfrin/rpm/BUILD/gnucash-1.9.5/gnucash-docs/doc-tools/dbadd.c:97: 
undefined reference to `__db185_open'
collect2: ld returned 1 exit status
make[2]: *** [dbadd] Error 1
make[2]: Leaving directory 
`/home/gatekeeper/minfrin/rpm/BUILD/gnucash-1.9.5/gnucash-docs/doc-tools'
make[1]: *** [all-recursive] Error 1

Regards,
Graham
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3220 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20060508/eeaea9e2/smime.bin


More information about the gnucash-devel mailing list