[Auth_ldap] URGENT : auth_ldap compile pbs
Dave Carrigan
dave at rudedog.org
Tue Feb 27 08:24:25 PST 2001
"APPANAH Ravi" <drt.rappanah at anpe.fr> writes:
> 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
You could just do:
LIBS="-L/opt/openldap/lib" CPPFLAGS="-I/opt/openldap/include" \
./configure .....
However, configure is supposed to set LIBS and CPPFLAGS correctly if you
give it the correct options.
> [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]#
What does `ldd /path/to/auth_ldap.so' say.
--
Dave Carrigan (dave at rudedog.org) | Yow! Are we THERE yet??
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS |
Seattle, WA, USA |
http://www.rudedog.org/ |
More information about the Auth_ldap
mailing list