Hi,
I'm trying to compile and install Cyrus-Imapd-1.6.25 and am running into
some problems. At first I installed Berkeley db-3.2.9 before compiling
SASL and imapd, but couldn't get it to work. I then went back to db-2.7.7,
compiled and installed SASL (1.5.27) and tried to compile imapd-1.6.25,
but the compilation fails:
cc -c -I. -I. -I./../lib -I./../et -I./../sieve -I/usr/local/include
-I/usr/local/include -DCYRUS_USER=\"cyrus\" -DSTATEDIR=\"/var\"
-DHAVE_LONG_FILE_NAMES=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1
-DHAVE_DB_185_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1
-DHAVE_STRCASECMP=1 -DHAVE_FTRUNCATE=1 -DHAVE_STRERROR=1 -DHAVE_DIRENT_H=1
-DHAVE_TZNAME=1 -DHAVE_VPRINTF=1 -DUSE_SIEVE=1 -DHAVE_LIBFL=1
-DENABLE_REGEX=1 -DHAS_STRERROR=1 -DHAVE_GETDTABLESIZE=1 -DHAVE_LIBDL=1 -g
\
notify_no.c
rm -f libimap.a
ar cr libimap.a append.o mailbox.o mboxlist.o mboxname.o message.o
config.o imap_err.o proc.o toimsp.o setproctitle.o convert_code.o
seen_local.o notify_no.o
ranlib libimap.a
cc -L/usr/local/lib -R/usr/local/lib -g -o collectnews collectnews.o
libimap.a ../lib/libcyrus.a \
-L/usr/local/lib -lsasl -ldl -lfl -lsocket -lnsl ../et/libcom_err.a
ild: (undefined symbol) db_open -- referenced in /usr/local/lib/libsasl.so
*** Error code 5
make: Fatal error: Command failed for target `collectnews'
Current working directory /usr/local/src/cyrus-imapd-1.6.25/imap
*** Error code 1
make: Fatal error: Command failed for target `all'
Any ideas?
--
Tuuli Tuominen
University of Helsinki IT Department