cd httpd-2.2.29 $ ./configure --prefix=/home/endo/local/apache80 \ --with-mpm=prefork \ --enable-proxy \ --enable-modules=all \ --with-ssl=/usr/local/openssl \ --enable-rewrite=shared \ --with-ldap \ --enable-authnz-ldap=shared \ --enable-ldap=shared \ --enable-so $ make : checking for stdint.h... yes checking for unistd.h... yes checking for ldap support... checking for ldap_init in -l/usr/local/openldap... no checking for ldap_init in -l/usr/local/openldap... no checking for ldap_init in -l/usr/local/openldap... no checking for ldap_init in -l/usr/local/openldap... no configure: error: could not find an LDAP library configure failed for srclib/apr-util
So, I add "--with-ldap-include" & "--with-ldap-lib" configure option, as below.
./configure --prefix=/home/endo/local/apache80 \ --with-mpm=prefork \ --enable-proxy \ --enable-modules=all \ --with-ssl=/usr/local/openssl \ --enable-rewrite=shared \ --with-ldap \ --with-ldap-include=/usr/local/openldap/include \ --with-ldap-lib=/usr/local/openldap/lib \ --enable-authnz-ldap=shared \ --enable-ldap=shared \ --enable-so