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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


Do you Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball.
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux