Compile Problems Solaris 9, Cyrus-SASL-2.1.20, Cyrus-Imapd-2.2.8
Igor Brezac
igor at ipass.net
Mon Nov 8 15:41:18 EST 2004
On Mon, 8 Nov 2004, Jeff Tomaszewski wrote:
> Hello;
>
> I'm looking for some help trying to get Cyrus-Imapd version
> 2.2.8 to compile on a Solaris 9 box. I have installed Cyrus-SASL version
> 2.1.20 and its running fine, make depend is fine, however make fails in
> the imap subdirectory....
>
> ### Making all in /private/build/cyrus-imapd-2.2.8/imap make[1]: Entering
> directory `/private/build/cyrus-imapd-2.2.8/imap'
> rm -f version.o
> AWK=gawk ./xversion.sh
> gcc -c -I.. -I./../lib -I../et -I/usr/local/db/include
> -I/usr/local/include -I/usr/local/openssl/include
> -I/usr/local/net-snmp-5.1.1/include -I/private/software/cyrus-sasl/include
> -DHAVE_CONFIG_H -g -O2 \ version.c
> gcc -L/usr/local/openssl/lib -R/usr/local/openssl/lib -L/usr/local/db/lib
> -R/usr/local/db/lib -L/usr/local/lib -R/usr/local/lib -o imapd \
> ../master/service.o pushstats.o backend.o imapd.o index.o tls.o version.o
> mutex_fake.o \
> libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a
> -L/private/software/cyrus-sasl/lib -R/private/software/cyrus-sasl/lib
> -lsasl2 -lresolv -ldl -lresolv -lsocket -lnsl -L/usr/local/db/lib
> -R/usr/local/db/lib -ldb-4.1 -lssl -lcrypto -lrt ../et/libcom_err.a -lwrap
> -lnsl
> Undefined first referenced
> symbol in file
> add_to_error_table libimap.a(imap_err.o)
> ld: fatal: Symbol referencing errors. No output written to imapd
> collect2: ld returned 1 exit status
> make[1]: *** [imapd] Error 1
> make[1]: Leaving directory `/private/build/cyrus-imapd-2.2.8/imap'
> make: *** [all] Error 1
>
You have common error library conflict somewhere. Most likely your
openssl package is built with krb5 support which uses its own libcom_err.
You can either re-build openssl without krb5 support or use libcom_err
from your krb5 package to build cyrus.
--
Igor
---
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
More information about the Info-cyrus
mailing list