httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hendrik Schmieder <hendrik.schmie...@jedox.com>
Subject Re: [users@httpd] ldap & authnz_ldap modules
Date Thu, 20 Jun 2013 06:38:36 GMT
ysrini schrieb:
> Hi, On Red Hat EL 5 :
>
> $ rpm -qa openldap
> openldap-2.3.43-25.el5_8.1
> openldap-2.3.43-25.el5_8.1
>
> $ rpm -ql openldap
> /etc/openldap
> /etc/openldap/cacerts
> /etc/openldap/ldap.conf
> /usr/lib64/liblber-2.3.so.0
> /usr/lib64/liblber-2.3.so.0.2.31
> /usr/lib64/libldap-2.3.so.0
> /usr/lib64/libldap-2.3.so.0.2.31
> /usr/lib64/libldap_r-2.3.so.0
> /usr/lib64/libldap_r-2.3.so.0.2.31
> /usr/share/doc/openldap-2.3.43
> /usr/share/doc/openldap-2.3.43/ANNOUNCEMENT
> /usr/share/doc/openldap-2.3.43/CHANGES
> /usr/share/doc/openldap-2.3.43/COPYRIGHT
> /usr/share/doc/openldap-2.3.43/LICENSE
> /usr/share/doc/openldap-2.3.43/README
> /usr/share/man/man5/ldap.conf.5.gz
> /usr/share/man/man5/ldif.5.gz
> /usr/share/openldap
> /etc/openldap
> /etc/openldap/cacerts
> /etc/openldap/ldap.conf
> /usr/lib/liblber-2.3.so.0
> /usr/lib/liblber-2.3.so.0.2.31
> /usr/lib/libldap-2.3.so.0
> /usr/lib/libldap-2.3.so.0.2.31
> /usr/lib/libldap_r-2.3.so.0
> /usr/lib/libldap_r-2.3.so.0.2.31
> /usr/share/doc/openldap-2.3.43
> /usr/share/doc/openldap-2.3.43/ANNOUNCEMENT
> /usr/share/doc/openldap-2.3.43/CHANGES
> /usr/share/doc/openldap-2.3.43/COPYRIGHT
> /usr/share/doc/openldap-2.3.43/LICENSE
> /usr/share/doc/openldap-2.3.43/README
> /usr/share/man/man5/ldap.conf.5.gz
> /usr/share/man/man5/ldif.5.gz
> /usr/share/openldap
>
>
> Now I want to compile Apache with LDAP
>
> $ pwd
> /apps/mstrat/apache/httpd-2.4.4_setup
>
> $
> ./configure --prefix=/apps/mstrat/apache/httpd-2.4.4 \
>     --enable-so 		\
>     --enable-auth-digest \
>     --enable-rewrite 	\
>     --enable-ssl 	\
>     --with-ssl=/apps/mstrat/apache/openssl-1.0.1e	\
>     --enable-headers 	\
>     --with-port=8080	\
>     --with-ldap		\
>     --with-ldap-lib=/usr/lib64 	\
>     --with-ldap-include=/etc/openldap \
>     --enable-ldap  	\
>     --enable-authnz-ldap	\
>     --with-included-apr 	\
>     --with-pcre=/apps/mstrat/apache/pcre-8.33	
>
> The configure fails with error:
> checking for ldap support...
>    setting APRUTIL_INCLUDES to "-I/etc/openldap"
>    setting APRUTIL_LDFLAGS to "-L/usr/lib64"
> checking for ldap_init in -lldap50... no
> checking for ldap_init in -lldapssl41... no
> checking for ldap_init in -lldapssl40... no
> checking for ldap_init in -lldapssl30... no
> checking for ldap_init in -lldapssl20... no
> checking for ldap_init in -lldapsdk... no
> checking for ldap_init in -lldapsdk... no
> checking for ldap_init in -lldap... no
> checking for ldap_init in -lldap... no
> checking for ldap_init in -lldap... no
> checking for ldap_init in -lldap... no
> configure: error: could not find an LDAP library
> configure failed for srclib/apr-util
>
> Can you please help?
> Thanks,
> -srinivas yelamanchili
>

--with-ldap-include=
must point to the ldap include directory.
but for this the ldap-dev package must be installed.

   Hendrik

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message