Clifford Thurber schrieb am Thu, Mar 21, 2002 at 09:43:58AM -0500:
[...]
> 
> Mar 20 23:23:23 birdbrain master[25255]: process 25257 exited, status 75
> Mar 20 23:23:23 birdbrain tls_prune[25259]: incorrect version of Berkeley
> db: co mpiled against 4.0.14, linked against 3.1.14
> 
> 
> Of course when I run ldd on /usr/cyrus/bin/master I get the following:
> 
> [root@birdbrain cyrus-imapd-2.1.2]# ldd /usr/cyrus/bin/master
> libdl.so.2 => /lib/libdl.so.2 (0x4001e000)
> libssl.so.0 => /usr/lib/libssl.so.0 (0x40021000)
> libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x4004f000)
> libdb-3.1.so => /lib/libdb-3.1.so (0x40107000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x40183000)
> libc.so.6 => /lib/libc.so.6 (0x40195000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> Can someone help me to figure out why despite all the measure I am taking 
> to make cyrus link against the the version 4 BerkeleyDB libraries it only 
> gets linked against the version 3 libraries? I appreciate any help I could 
> get with this. Thank you.

The problem mostly lies with the header files.  I had the same effect 
once.  I had installed BDB3 and 4 on one machine, and the db header file 
(include/db.h) pointed towards BDB3 whereas the linker itself grabbed 
/lib/libdb-4.so. at the end of the compile.  Just be sure that db.h 
points to the BDB version you're going to link in (I did it with a soft-
link to include/db4/db.h).


Regards,

Birger

Reply via email to