[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
problem with SASL
Hi,
I am new to openLdap. I am trying to configure SASL with OpenLDAP under
cygwin, but facing some problems.
I get the following error message:
checking for sasl/sasl.h... yes
checking for sasl.h... yes
checking for sasl_client_init in -lsasl2... no
checking for sasl_client_init in -lsasl... no
configure: error: Could not locate Cyrus SASL
and my config.log file has following entries:
configure:19816: checking for sasl_client_init in -lsasl
configure:19835: gcc -o conftest.exe -g -O2
-I/usr/local/BerkeleyDB.4.1/include -I/usr/local/include/sasl
-L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/lib -L/usr/local/lib/sasl2
-L/usr/lib/sasl2 conftest.c -lsasl 1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
cannot find -lsasl
collect2: ld returned 1 exit status
configure: failed program was:
#line 19824 "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; }
I am setting on cygwin
export LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/lib
-L/usr/local/lib/sasl2 -L/usr/lib/sasl2"
export CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include
-I/usr/local/include/sasl"
Any idea what am i missing or doing wrong???????????????????
thanx in advance,
Ankit Chansoriya
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.