[Date Prev][Date Next] [Chronological] [Thread] [Top]

Openldap, Berkeley, Kerberos and Sasl question.



I can't figure out what I am doing wrong here.  I
downloaded the newest
versions of the software:
openssl-0.9.7d
db-4.2.52 + patches.
krb5-1.3.4.tar
cyrus-sasl-2.1.19
openldap-2.2.15

I installed the first 4 in the order listed above. 
Openldap is giving me
problems installing.  My script looks like

env
LD_RUN_PATH="/usr/local/BerkeleyDB.4.2/lib;/usr/lib2/sasl2"
\
LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.2/lib;/usr/lib2/sasl2"
\
CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include
-I/usr/include/sasl" \
LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib
-L/usr/lib/sasl2" \
./configure \
--prefix=/usr \
--libexecdir=/usr/sbin \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--enable-syslog \
--disable-ipv6 \
--with-tls \
--enable-slapd \
--enable-cleartext \
--enable-crypt  \
--enable-spasswd \
--enable-bdb \
--enable-ldbm \
--enable-monitor \
--enable-slurpd

I get the following error during the make process:

./.libs/libldap.a(cyrus.o): In function
`ldap_int_sasl_bind':
/tmp/openldap-2.2.15/libraries/libldap/cyrus.c:800:
undefined reference to
`sasl_errdetail'
/tmp/openldap-2.2.15/libraries/libldap/cyrus.c:789:
undefined reference to
`sasl_errdetail'
/tmp/openldap-2.2.15/libraries/libldap/cyrus.c:701:
undefined reference to
`sasl_errdetail'
collect2: ld returned 1 exit status
make[2]: *** [apitest] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1

I looked at the stanford configuration,
http://www.stanford.edu/services/directory/openldap/configuration/index.html.
Very impressive!!  I am trying to do something similar
here.

Thanks in advance.


		
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail