Dear gurus,

I have trying tens hours to make apr-util has ldap support, but no luck.
I tried 0.9.12, 1.2.7, and finally subversion (by svn co http:// .... command)

here is my snipped output

[EMAIL PROTECTED] apr-util]$ ./configure --enable-layout=RedHat --with-ldap-inclub=/usr/lib --with-apr=/usr/bin --with-ldap=libldap-2.3.so.0.2.18
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.3.0
checking for chosen layout... RedHat
Applying apr-util hints file rules for i686-pc-linux-gnu
checking for APR... yes
  setting CC to "gcc"
  setting CPP to "gcc -E"
  setting CFLAGS to " -g -O2 -pthread"
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE"
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ldap support...
./configure: line 10612: unset: `ac_cv_lib_libldap-2.3.so.0.2.15_ldap_init': not a valid identifier
./configure: line 10613: unset: `ac_cv_lib_libldap-2.3.so.0.2.15___ldap_init': not a valid identifier
checking for ldap_init in -llibldap-2.3.so.0.2.15... no
./configure: line 11216: unset: `ac_cv_lib_libldap-2.3.so.0.2.15_ldap_init': not a valid identifier
./configure: line 11217: unset: `ac_cv_lib_libldap-2.3.so.0.2.15___ldap_init': not a valid identifier
checking for ldap_init in -llibldap-2.3.so.0.2.15... (cached) no
./configure: line 11820: unset: `ac_cv_lib_libldap-2.3.so.0.2.15_ldap_init': not a valid identifier
./configure: line 11821: unset: `ac_cv_lib_libldap-2.3.so.0.2.15___ldap_init': not a valid identifier
checking for ldap_init in -llibldap-2.3.so.0.2.15... (cached) no
./configure: line 12424: unset: `ac_cv_lib_libldap-2.3.so.0.2.15_ldap_init': not a valid identifier
./configure: line 12425: unset: `ac_cv_lib_libldap-2.3.so.0.2.15___ldap_init': not a valid identifier
checking for ldap_init in -llibldap-2.3.so.0.2.15... (cached) no
configure: error: could not find an LDAP library


Really surprised libldap is there

[EMAIL PROTECTED] ~]# ls -al /usr/lib |grep libldap-2.3.so*
lrwxrwxrwx    1 root root          21 Nov 16 01:18 libldap-2.3.so.0 -> libldap-2.3.so.0.2.18
-rw-r--r--    1 root root      685869 Nov 16 01:18 libldap-2.3.so.0.2.18
lrwxrwxrwx    1 root root          21 Nov 16 01:18 libldap.so -> libldap-2.3.so.0.2.18

and in subversion source code include/apr_ldap.h.in was
there since it has been checked out

[EMAIL PROTECTED] include]# grep DEPRECATED apr_ldap.h.in
 * The following #defines are DEPRECATED and should not be used for
#if APR_HAS_OPENLDAP_LDAPSDK && !defined(LDAP_DEPRECATED)
#define LDAP_DEPRECATED 1

pls, pls suggest

Pat.

Reply via email to