I think I went down that road once also. In my experience, the cyrus configure/build process likes to ignore things from time to time. Try setting the LD_LIBRARY_PATH or putting it in ld.so.conf but that's just a guess.

chris

Kent L. Nasveschuk wrote:

First installation I used the stock Berkeley DBs. Then I tryed this
after installing BerkeleyDB 4.2.52. I used the following command line
options on configure:

--with-bdb=/usr/local/BerkeleyDB.4.2
--with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib
--with-bdb-inc=/usr/local/BerkeleyDB.4.2/inc
--disable-krb4


It compiles and starts, but cyradm refuses to function. Running ldd on IMAP.so got:

ldd IMAP.so
       libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x4001e000)
       libssl.so.2 => /lib/libssl.so.2 (0x40032000)
       libcrypto.so.2 => /lib/libcrypto.so.2 (0x40062000)
       libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
       libdl.so.2 => /lib/libdl.so.2 (0x40136000)
       libresolv.so.2 => /lib/libresolv.so.2 (0x40139000)
       libcrypt.so.1 => /lib/libcrypt.so.1 (0x4014b000)
       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

How do I force to find the libraries?


On Thu, 2004-05-20 at 10:57, Chris Harms wrote:


I seem to recall getting this one on a few occasions...at least one time it wasn't finding my DB library. Run ldd on IMAP.so in the perl directory and see if it found DB. If not you'll need to reconfigure using some of the following configure options setting DIR as appropriate.

--with-bdb=DIR          use Berkeley DB (in DIR) [yes]
--with-bdb-libdir=DIR   Berkeley DB lib files are in DIR
--with-bdb-incdir=DIR   Berkeley DB include files are in DIR

Chris

Kent L. Nasveschuk wrote:



Hello,
I have yet to get cyradm working on v 2.2.3 or the recent 2.2.4. Anyone
out there resolve the undefined symbol db_version problem that
accompanies cyradm?

I've tried 2 installations on RedHat 8.0 and 1 on Slackware 9.0 with the
same problems. I've read a good deal of postings on this problem but
everyting up until now has not worked.








---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to