Really Need Help! -- Cyrus Imap Compile Error

Su Li sli at rim.net
Mon Sep 23 15:34:57 EDT 2002


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




More information about the Info-cyrus mailing list