On Aug 27, 2013, at 09:08, Guido Larrain wrote:

> I'm having this issue when i try to install APR-UTIL.
> 
> when i ran this command
> 
> ./configure --enable-shared --prefix=/svndata/svnserver --with-expat=builtin 
> --with-apr=/svndata/svnserver --without-berkeley-db  --with-ldap  
> --with-ldap-lib=/www/openldap-2.3.43/libraries 
> --with-ldap-include=/www/openldap-2.3.43/include CFLAGS="-L/usr/lib64 -fPIC"
> 
> i'm getting this error msg
> 
> checking for ldap support...
>   setting APRUTIL_INCLUDES to "-I/www/openldap-2.3.43/include"
>   setting APRUTIL_LDFLAGS to "-L/www/openldap-2.3.43/libraries"
> checking for ldap_init in -lldap50... no
> checking for ldap_init in -lldapssl41... no
> checking for ldap_init in -lldapssl40... no
> checking for ldap_init in -lldapssl30... no
> checking for ldap_init in -lldapssl20... no
> checking for ldap_init in -lldapsdk... no
> checking for ldap_init in -lldapsdk... no
> checking for ldap_init in -lldap... no
> checking for ldap_init in -lldap... no
> checking for ldap_init in -lldap... no
> checking for ldap_init in -lldap... no
> configure: error: could not find an LDAP library
> 
> it seems that i'm missing something. can you help me with that? Thanks in 
> advance!

What's /www/openldap-2.3.43? Is that the unpacked source code of openldap? 
That's not going to work. You need to actually build and install openldap, then 
point the configure script at wherever you installed it.

Reply via email to