https://bz.apache.org/bugzilla/show_bug.cgi?id=58197

--- Comment #1 from Michael Felt <mamf...@gmail.com> ---
This has been around - for a long time - yet I believe I have a solution.

Just have not figured out where to include it (in m4 or a .in file).

The key issue for AIX is that the SSL and CRYPTO libraries are also needed.

To get configure to succeed I made the following manual adjustment to
./configure

This is against version 1.6.1

 +8591    if test ${apu_has_ldap} != "1"; then
 +8592      ldaplib="ldap"
 +8593      extralib="-llber"
 +8594      # Clear the cache entry for subsequent APU_FIND_LDAPLIB
invocations.
 +8595
 +8596      ldaplib_cache_id="`echo $ldaplib | sed -e 's/[^a-zA-Z0-9_]/_/g'`"
 +8597
 +8598      unset ac_cv_lib_${ldaplib_cache_id}_ldap_init
 +8599      unset ac_cv_lib_${ldaplib_cache_id}___ldap_init
 +8600      as_ac_Lib=`$as_echo "ac_cv_lib_${ldaplib}''_ldap_init" | $as_tr_sh`
 +8601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in
-l${ldaplib}" >&5
 +8602  $as_echo_n "checking for ldap_init in -l${ldaplib}... " >&6; }
 +8603  if eval \${$as_ac_Lib+:} false; then :
 +8604    $as_echo_n "(cached) " >&6
 +8605  else
 +8606    ac_check_lib_save_LIBS=$LIBS
 +8607  LIBS="-l${ldaplib} ${extralib} $LIBS $LDADD_crypto_openssl"

On Line 8607 I add $LDD_crypto_openssl - and LDAP is found!

root@x066:[/data/prj/apache/apr/apr-util-1.6.1]/opt/bin/apu-1-config
--ldap-libs
 -lldap -llber

Hope this helps!

Michael

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to