Problems building cyrus-imapd

Robert robertedstrom at yahoo.com
Tue Mar 15 19:47:49 EST 2005


Hi.  I am trying to build cyrus-imapd 2.2.12 and I am
having a bit of difficulty getting it to build.  The
specific error I get is:

------------------
gcc -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/ssl/lib
-L/usr/local/BerkeleyDB.4.2/lib
-Wl,-rpath,/usr/local/BerkeleyDB.4.2/lib
-L/usr/local/lib -L/usr/local/BerkeleyDB.4.2/lib
-L/usr/local/ssl/lib -L/usr/local/lib -o sievec
sievec.o libsieve.a ../lib/libcyrus.a
../lib/libcyrus_min.a  libsieve.a -L/usr/local/lib/lib
 -Wl,-rpath,/usr/local/lib/lib -lsasl2
-L/usr/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto
-lcom_err -lresolv -lresolv  -lfl  -lresolv 
-L/usr/local/BerkeleyDB.4.2/lib 
-Wl,-rpath,/usr/local/BerkeleyDB.4.2/lib -ldb-4.2
-lssl -lcrypto  -lcom_err
libsieve.a(sieve_err.o): In function
`initialize_siev_error_table':
/vol/source/cyrus-imapd-2.2.12/sieve/sieve_err.c:40:
undefined reference to `_et_list'
/vol/source/cyrus-imapd-2.2.12/sieve/sieve_err.c:42:
undefined reference to `_et_list'
collect2: ld returned 1 exit status
make[1]: *** [sievec] Error 1
make[1]: Leaving directory
`/vol/source/cyrus-imapd-2.2.12/sieve'
make: *** [all] Error 1
------------------

I attempted to build it with the following script:

------------------
export CPPFLAGS="-I/usr/local/include
-I/usr/local/BerkeleyDB.4.2/include
-I/usr/local/ssl/include/openssl"
export LDFLAGS="-L/usr/local/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib"
export
LD_RUN_PATH="/usr/local/lib:/usr/local/BerkeleyDB.4.2/lib:/usr/local/ssl/lib"
export
LD_LIBRARY_PATH="/usr/local/lib:/usr/local/BerkeleyDB.4.2/lib:/usr/local/ssl/lib"

./configure \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/libexec \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-gssapi=/usr/local \
--with-auth=unix \
--with-ldap=/usr/local \
--with-dbdir=/usr/local/BerkeleyDB.4.2 \
--with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib \
--with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include \
--with-openssl=/usr/local/ssl \
--with-sasl=/usr/local/lib \
------------------

This is a freshly built redhat 8 box with berkeley db,
ldap, sasl2, kerberos and ssl built fresh from source.

Please help.
Thanks in advance.
Bob

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
---
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