Hello,
I am trying to install courier-authlib 0.60.2 ; I want it for authetication
against openldap 2.3.35 for imap. But, courier-authlib is not installing the
required auth libraries for ldap like libauthldap.
I have an openldap installation which is working fine in /usr/local/openldap/
The command that I run is below :
env CPPFLAGS="-I/usr/local/include/openssl -I/usr/local/openldap/include"
LDFLAGS="-L/usr/local/lib -L/usr/lib/ -L/usr/local/openldap/lib/ " env
CPPFLAGS="-I/usr/local/include/openssl -I/usr/local/openldap/include"
LDFLAGS="-L/usr/local/lib -L/usr/local/lib/" ./configure --with-authldap
--without-authmysql --without-authpgsql --without-authcustom
--without-authcram --with-ssl
In the config.log I have statements like
configure:21997: checking ldap.h usability
configure:22014: gcc -c -g -O2 -Wall -I.. -I./.. -I/usr/local/include/openssl
-I/usr/local/openldap/include conftest.c >&5
configure:22020: $? = 0
configure:22034: result: yes
..
..
configure:22462: checking for ldap_open in -lldap
configure:22497: gcc -o conftest -g -O2 -Wall -I.. -I./..
-I/usr/local/include/openssl -I/usr/local/openldap/include -L/usr/local/lib
-L/usr/local/lib/ conftest.c -lldap -lresolv >&5
/usr/bin/ld: cannot find -lldap
collect2: ld returned 1 exit status
Whats going wrong ? Please help me installing ldap auth modules.
Thanks,
Suresh
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users