[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:
db-4.2.52 + patches.

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 \

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
/tmp/openldap-2.2.15/libraries/libldap/cyrus.c:789: undefined reference to
/tmp/openldap-2.2.15/libraries/libldap/cyrus.c:701: undefined reference to
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,
Very impressive!!  I am trying to do something similar here.

Thanks in advance.