i'm trying to configure openldap v2 for use with cyrus sasl.
i'm working on mandrake 8.2, and i have installed
- berkeley db 4.0.14
- openssl0.9.6c
- kerberos MIT 1.2.3
- cyrus 1.5.27
- openldap 2.0.23
when i configure openldap with the following command, i have the following error displayed
checking for sasl.h... yes
checking for sasl_client_init in -lsasl... no
configure: error: Could not locate Cyrus SASL
and this is what i can see in config.log
configure:14746: checking for sasl_client_init in -lsasl
configure:14765: cc -o conftest -g -O2 -I/usr/local/BerkeleyDB.4.0/include/
-I/usr/local/produits/cyrus-sasl-1.5.27/include -L/usr/local/BerkeleyDB.4.0/lib
-L/usr/local/produits/cyrus-sasl-1.5.27/lib -L/usr/lib conftest.c -lsasl
-lresolv -ldl 1>&5
/usr/bin/ld: cannot find -lsasl
collect2: ld returned 1 exit status
configure: failed program was:
#line 14754 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.
*/
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would
still apply. */
char sasl_client_init();
int main() {
sasl_client_init()
; return 0; }
thanks for your help