On Mon June 22 2009 19:41:30 Gary Smith wrote:
> checking for ldap_set_option in -lldap_r... no
> checking for ldap_set_option in -lldap... no
> configure: error: ldap library (libldap) not found
>
> Reverting back to 2.9.21.2, it compiles fine. Obvisouly ldap is installed.
In 2.9.21 there are no checks if the LDAP libraries are available. Compilation
just fails without any notice before during the ./configure run.
> [root@BUILD x86_64 pdns-2.9.22]$ ls -l /usr/lib64/libldap*
> lrwxrwxrwx 1 root root 21 Jun 19 18:49 /usr/lib64/libldap-2.3.so.0 ->
> libldap-2.3.so.0.2.15 -rwxr-xr-x 1 root root 238504 Jul 9 2008
> /usr/lib64/libldap-2.3.so.0.2.15 -rw-r--r-- 1 root root 478330 Jul 9 2008
> /usr/lib64/libldap.a
> lrwxrwxrwx 1 root root 21 Jun 20 07:25 /usr/lib64/libldap.so ->
> libldap-2.3.so.0.2.15 lrwxrwxrwx 1 root root 23 Jun 19 18:49
> /usr/lib64/libldap_r-2.3.so.0 -> libldap_r-2.3.so.0.2.15 -rwxr-xr-x 1 root
> root 256720 Jul 9 2008 /usr/lib64/libldap_r-2.3.so.0.2.15 -rw-r--r-- 1
> root root 526432 Jul 9 2008 /usr/lib64/libldap_r.a
> lrwxrwxrwx 1 root root 23 Jun 20 07:25 /usr/lib64/libldap_r.so ->
> libldap_r-2.3.so.0.2.15
It looks like in 64Bit mode only the libraries in /usr/lib are found which
aren't usable in this case so configure fails. Could you try use
LDFLAGS="-L/usr/lib64" ./configure ...
Perhaps it helps. I haven't found much on the web about autoconf and this
problem.
Norbert
--
OpenPGP public key
http://www.linuxnetworks.de/norbert.pubkey.asc _______________________________________________
Pdns-users mailing list
Pdns-users@...
http://mailman.powerdns.com/mailman/listinfo/pdns-users