[Auth_ldap] URGENT : auth_ldap compile pbs
APPANAH Ravi
drt.rappanah at anpe.fr
Tue Feb 27 01:54:51 PST 2001
I have some trouble while compiling auth_ldap. I have install openldap
2.0.7 before in /opt/openldap directory.
I add this following line in /etc/ld.co.conf :
/opt/openldap/lib
Then I run ldconfig...
For auth_ldap, I try :
[root at cerbere auth_ldap-1.5.2]# ./configure
--with-apxs=/opt/www/bin/apxs \
--with-sdk=openldap
loading cache ./config.cache
checking for apxs... (cached) /opt/www/bin/apxs
checking whether apxs works... yes
checking for ber_init in -llber... (cached) no
checking for ldap_init in -lldap... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for vprintf... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
creating ./config.status
creating Makefile
ber_init and ldap_init can't be find !!!
So I use explanations given at http://www.rudedog.org/auth_ldap/
I try :
./configure --with-apxs=/opt/www/bin/apxs \
--with-sdk=openldap
--with-sdk-headers=/opt/openldap/include \
--with-sdk-libs=/opt/openldap/lib
I modify then the Makefile file :
LIBS=-L/opt/openldap/lib
CPPFLAGS=-I/opt/openldap/include
make
make install
This line should be added in httpd.conf :
LoadModule auth_ldap_module libexec/auth_ldap.so
When I start the apache server, I have these errors :
[root at cerbere libexec]# apachectl startssl
Syntax error on line 212 of /opt/www/conf/httpd.conf:
Cannot load /opt/www/libexec/auth_ldap.so into server:
/opt/www/libexec/auth_ldap.so: undefined symbol: ldap_get_dn
/usr/local/bin/apachectl startssl: httpd could not be started
[root at cerbere
libexec]#
Thanks for your help.
Regards,
Ravi APPANAH
-----------------------------------------------------------------------------------------------
Ravi APPANAH
E-mail : ravi.appanah at telindus.fr
Phone : +33 1 41 91 39 00
GSM : +33 6 20 78 29 63
Fax : +33 1 41 91 39 99 Consultant Sécurité
CF6 groupe TELiNDUS
41, rue des Trois Fontanot
F-92024 NANTERRE CEDEX
-----------------------------------------------------------------------------------------------
For more informations about our products and services, please visit
our websites (http://www.cf6.fr/ and http://www.telindus.fr/)
-----------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.rudedog.org/pipermail/auth_ldap/attachments/20010227/c944ba70/attachment.htm
More information about the Auth_ldap
mailing list