Hello,

        I'm having some trouble compiling Cyrus IMAPd v2.1.3 on a FreeBSD-4.5
box.  I receive an error when running `configure', the last few lines of
the `configure' output follow:

checking for dlopen... yes
checking for sasl/sasl.h... yes
checking for sasl/saslutil.h... yes
checking for prop_get in -lsasl2... yes
checking for perl5... perl5
checking for MD5Init... no
checking for MD5Init in -lmd... yes
checking for sasl_checkapop in -lsasl2... no
configure: error: libsasl2 without working sasl_checkapop.  Cannot
continue.

        I receive the same error when configuring Cyrus IMAPd versions 2.1.1,
2.1.2, and 2.1.3 - I've been compiling (well, configuring) against a
successful compile of Cyrus SASL 2.1.2 libs.

        I'm not sure if this helps, but an `nm' (or `objdump -t') on the
libsasl2 shared object infers that the function 'sasl_checkapop' exists:

% nm /usr/local/cyrus-sasl/lib/libsasl2.so.2 | grep sasl_checkapop
0000c5cc T sasl_checkapop

        As you can see by the output from `configure', the script is able to
properly determine the existence of other symbol table entries in
libsasl2.so.2 (such as the prop_get function).
        
        My configure statements follow:

Cyrus-SASL (v2.1.2):
./configure --prefix=/usr/local/cyrus-sasl \
--with-pwcheck=/usr/local/cyrus-sasl/pwcheck \
--with-saslauthd=/usr/local/cyrus-sasl/saslauthd \
--with-dblib=berkeley \
--with-bdb-libdir=/usr/local/BerkeleyDB.3.2/lib \
--with-bdb-incdir=/usr/local/BerkeleyDB.3.2/include \
--enable-krb4=no

Cyrus-IMAPd (v2.1.3):
./configure --prefix=/usr/local/cyrus \
--with-cyrus-prefix=/usr/local/cyrus \
--with-cyrus-user=cyrus \
--with-cyrus-group=mail \ 
--with-dbdir=/usr/local/BerkeleyDB.3.2 \
--with-auth=unix \
--with-sasl=/usr/local/cyrus-sasl

        Any insight into this issue would be greatly appreciated.  

Thanks!
David Fuchs



Reply via email to