You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "John P. Dodge" <do...@cruciate.ca.boeing.com> on 2005/03/01 19:31:33 UTC

Re: [users@httpd] configure: error: could not find an LDAP library

On Sat, 26 Feb 2005, M Mitchell wrote:

> Dear all,
>
>    To set Apache 2.0.52 on solaris 9 to enable ldap, I need to install apr and apr-util to support ldap. In configuring apr-util,
>
> 1) with-ldap-include=/dir/openldap/include                   path to ldap include files
> 2) with-ldap-lib=/dir/openldap/lib                                 path to ldap lib file
> 3) with-ldap=                                                            ldap library to use
>
> In 3, ldap library to use refers to /dir/openldap ?? But when I tried it like this ( with-ldap=/dir/openldap ),  configure: error: could not find an LDAP library occurred. Could anybody help me ? Any help much appreciated. Thanks in advance!
>
> here is my config command....
>
>  ./configure --prefix=/opt/apr-util-1.1.0 --with-apr=/opt/apr-1.1.0 --with-ldap-include=/opt/openldap/include --with-ldap-lib=/opt/openldap/lib --with-ldap=/opt/openldap
>
>
> checking for ldap support...
>   setting APRUTIL_INCLUDES to "-I/opt/openldap/include"
>   setting APRUTIL_LDFLAGS to "-L/opt/openldap/lib"
> ./configure: unset: `ac_cv_lib_/opt/openldap_ldap_init': not a valid identifier
> ./configure: unset: `ac_cv_lib_/opt/openldap___ldap_init': not a valid identifier
> checking for ldap_init in -l/opt/openldap... no
> ./configure: unset: `ac_cv_lib_/opt/openldap_ldap_init': not a valid identifier
> ./configure: unset: `ac_cv_lib_/opt/openldap___ldap_init': not a valid identifier
> checking for ldap_init in -l/opt/openldap... (cached) no
> ./configure: unset: `ac_cv_lib_/opt/openldap_ldap_init': not a valid identifier
> ./configure: unset: `ac_cv_lib_/opt/openldap___ldap_init': not a valid identifier
> checking for ldap_init in -l/opt/openldap... (cached) no
> ./configure: unset: `ac_cv_lib_/opt/openldap_ldap_init': not a valid identifier
> ./configure: unset: `ac_cv_lib_/opt/openldap___ldap_init': not a valid identifier
> checking for ldap_init in -l/opt/openldap... (cached) no
> configure: error: could not find an LDAP library
>
Don't use system versions of APR and APR-UTIL. Let the build process
compile the one bundled with the source.

----------------------------------------
"Mon aƩroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org