I am trying to compile SASL, but I am having a problem. I have patched
it to support LDAP, but when I get to make I receive the following
error.
/bin/sh ../libtool --mode=link gcc -Wall -W -g -O2 -L/usr/local/lib
-Wl,-rpath,
/usr/local/lib -L/usr/local/BerkeleyDB.3.2/lib -L/usr/local/lib -o
dbconverter-1
.5.9 dbconverter-1.5.9.o ../lib/libsasl.la -ldb -lresolv
mkdir .libs
gcc -Wall -W -g -O2 -L/usr/local/lib -Wl,-rpath,/usr/local/lib
-L/usr/local/Berk
eleyDB.3.2/lib -L/usr/local/lib -o .libs/dbconverter-1.5.9
dbconverter-1.5.9.o .
./lib/.libs/libsasl.so -ldb -ldl -lcrypt -lresolv -ldb -lresolv
-Wl,--rpath -Wl,
/usr/local/lib
../lib/.libs/libsasl.so: undefined reference to `ldap_get_dn'
../lib/.libs/libsasl.so: undefined reference to `ldap_unbind'
../lib/.libs/libsasl.so: undefined reference to `ldap_first_entry'
../lib/.libs/libsasl.so: undefined reference to `ldap_simple_bind_s'
../lib/.libs/libsasl.so: undefined reference to `ldap_open'
../lib/.libs/libsasl.so: undefined reference to `ldap_search_ext_s'
collect2: ld returned 1 exit status
make[2]: *** [dbconverter-1.5.9] Error 1
make[2]: Leaving directory
`/home/mweber/Hold/Linux/cyrus-sasl-1.5.24/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mweber/Hold/Linux/cyrus-sasl-1.5.24'
make: *** [all-recursive-am] Error 2
Has anybody seen this before, or does anybody know what this might mean.
Any help is truly appreciated.
This is line to compile:
export LDFLAGS="-L/usr/local/BerkeleyDB.3.2/lib -L/usr/local/lib"
export CPPFLAGS="-I/usr/local/BerkeleyDB.3.2/include"
./configure --enable-login --with-ldap=/usr/local/lib