Really Need Help! -- Cyrus Imap Compile Error

Ken Murchison ken at oceana.com
Mon Sep 23 16:48:08 EDT 2002



Su Li wrote:
> 
> Hi,
> 
> So strange, I downloaded cyrus-imapd-2.0.16, it complies with no problem.
> 
> All the trouble start from I try to use db-4.1 BerkeleyDB. I am afraid to
> upgrade to a newer update now.

No released version of Cyrus or SASL supports DB4.1.  You'll have to
grab the CVS for DB4.1 support.


> -----Original Message-----
> From: Su Li [mailto:sli at rim.net]
> Sent: September 23, 2002 3:35 PM
> To: info-cyrus at lists.andrew.cmu.edu
> Subject: Really Need Help! -- Cyrus Imap Compile Error
> 
> Hi,
> 
> I posted the message, but I didn't get answer. I tried for 3 days compiling
> Cyrus Imap, but didn't success.
> 
> I am compling cyrus-imapd-2.1.8, with  db-4.0.14 and cyrus-sasl-2.1.7. The
> error message I got is:
> 
> gcc -L/usr/local/lib -Wl,-L/usr/local/lib -Wl,-rpath,/usr/local/lib  -Wall
> -g -O2   -o imapd \
>  ../master/service.o pushstats.o backend.o imapd.o index.o tls.o version.o
> libimap.a ../acap/libacap.a ../lib/libcyrus.a  -lsasl2  -lssl -lcrypto
> -lfl  -ldb-4.0  -lresolv  -lcom_err -lwrap -lnsl
> ../lib/libcyrus.a(cyrusdb_db3.o): In function `mysync':
> /usr/local/src/cyrus-imapd-2.1.9/lib/cyrusdb_db3.c:237: undefined reference
> to `txn_checkpoint'
> ../lib/libcyrus.a(cyrusdb_db3.o): In function `myarchive':
> /usr/local/src/cyrus-imapd-2.1.9/lib/cyrusdb_db3.c:262: undefined reference
> to `log_archive'
> /usr/local/src/cyrus-imapd-2.1.9/lib/cyrusdb_db3.c:283: undefined reference
> to `log_archive'
> /usr/local/src/cyrus-imapd-2.1.9/lib/cyrusdb_db3.c:311: undefined reference
> to `log_archive'
> ../lib/libcyrus.a(cyrusdb_db3.o): In function `gettid':
> /usr/local/src/cyrus-imapd-2.1.9/lib/cyrusdb_db3.c:384: undefined reference
> to `txn_id'
> /usr/local/src/cyrus-imapd-2.1.9/lib/cyrusdb_db3.c:387: undefined reference
> to `txn_id'
> /usr/local/src/cyrus-imapd-2.1.9/lib/cyrusdb_db3.c:397: undefined reference
> to `txn_id'
> 
> I copied /usr/local/BerkeleyDB.4.0/lib/* into /usr/lib
> and /usr/local/BerkeleyDB.4.0/include/* into /usr/include
> 
> I still get the same answer. I really don't know what to do now.
> 
> So please please help me out. Any help is appreciated.
> 
> Su

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp




More information about the Info-cyrus mailing list