Thank you so very much for getting back to me on this, Michael here is
the output of

ldd /usr/cyrus/bin/imapd

[EMAIL PROTECTED] berkeleydb]# ldd /usr/cyrus/bin/imapd
        libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0xb75cd000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb75bb000)
        libdb-4.1.so => /usr/local/bdb/lib/libdb-4.1.so (0xb7524000)
        libssl.so.0.9.7 => /usr/local/ssl/lib/libssl.so.0.9.7 (0xb74f7000)
        libcrypto.so.0.9.7 => /usr/local/ssl/lib/libcrypto.so.0.9.7 (0xb7404000)
        libwrap.so.0 => /usr/lib/libwrap.so.0 (0xb73fb000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb73e5000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb72ad000)
        libdl.so.2 => /lib/libdl.so.2 (0xb72aa000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb75eb000)


and the configure params 

CYRUS SASL configuration

./configure \
--enable-anon \
--enable-plain \
--enable-login \
--disable-krb4 \
--disable-otp \
--disable-cram \
--disable-digest \
--with-saslauthd=/var/run/saslauthd \
--with-pam=/lib/security \
--with-dblib=berkeley \
--with-openssl=/usr/local/ssl \
--with-plugindir=/usr/local/lib/sasl2

Cyrus IMAPD

./configure \
--with-sasl=/usr/local/lib \
--with-perl \
--with-auth=unix \
--with-openssl=/usr/local/ssl \
--without-ucdsnmp \


if I use 

--with-dbdir=/usr/local/bdb \
--with-bdb-libdir=/usr/local/bdb/lib \
--with-bdb-incdir=/usr/local/bdb/include \

param the IMAPD does not compile and I get Berkley DB 3.x not installed error 

here is the postfix build configuration.


make makefiles 'CCARGS=-DHAS_MYSQL \
-I/usr/include/mysql -DUSE_SASL_AUTH \
-I/usr/local/include/sasl -I/usr/include' \
'AUXLIBS=-L/usr/lib/mysql \
-lmysqlclient -lz -lm -L/usr/local/lib -lsasl2 -L/usr/lib -lpthread'

from the ldd /usr/cyrus/bin/imapd it seems that few libs are being
used from the RPM installed and few from the /usr/local/bdb/lib
directory. Although both are version 4.1.25 now.

I was thinking of using another version of berkeley DB, but with this
output it seems that my configuration is wrong and can get this done
by sorting this out, any suggestions please.

Imran
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to