undefined symbol db_version in IMAP.so

Miller, Greg gmiller at richmond.edu
Wed Aug 23 20:02:32 EDT 2006

This issue has been raised before but I thought it might be common
enough that it deserves another look.


Platform is Red Hat Enterprise Linux AS release 4, freshly installed

Running cyrus-imapd-2.2.12 compiled from source


The master process starts normally, as do imapd and pop3d. However,
cyradm and attempts to use Cyrus::IMAP::Admin fail when loading IMAP.so
with the error, "undefined symbol: db_version" This is not an issue with
the Perl library path. Perl is finding IMAP.so, just failing to load it.
Cyrus perl libraries were built from the same source distribution.


Cyrus was built with:


 ./configure  --with-bdb-libdir=/usr/lib  --with-bdb-incdir=/usr/include
--with-auth=unix --enable-fulldirhash --with-lock=fcntl


as well as: 


./configure  --with-auth=unix --enable-fulldirhash --with-lock=fcntl


with the same error.


I believe this is related to the version of Berkely DB installed on my
system. It is installed from RPM:




IMAP.so is dynamically linked against the following:


libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x002ca000)

        libssl.so.4 => /lib/libssl.so.4 (0x00eaa000)

        libcrypto.so.4 => /lib/libcrypto.so.4 (0x00bb7000)

        libc.so.6 => /lib/tls/libc.so.6 (0x00991000)

        libdl.so.2 => /lib/libdl.so.2 (0x00111000)

        libresolv.so.2 => /lib/libresolv.so.2 (0x0026b000)

        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00115000)

        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00143000)

        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x003c5000)

        libcom_err.so.2 => /lib/libcom_err.so.2 (0x00b67000)

        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x0079d000)

        libz.so.1 => /usr/lib/libz.so.1 (0x00157000)

        /lib/ld-linux.so.2 (0x0047a000)


Any help greatly appreciated.


Greg Miller, RHCE, CCNA, MCSE
Manager of Network Services
University of Richmond
gmiller at richmond.edu
(804) 289-8546


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20060823/2dc23f30/attachment-0001.html

More information about the Info-cyrus mailing list