[Pdns-users] 2.9.22 compile problem with ldap

Gary Smith Gary at primeexalia.com
Mon Jun 22 17:41:30 UTC 2009


Hello, 

We have an SRPM for 2.9.21.2 that compiles fine.  We are trying to update the package to 2.9.22.  In doing so we ran into an issue with configure not being able to find ldap.  So, trying it straight (without rpmbuild) and manually running config, we get the same error.  Now this only happens on x86_64.  It works fine on 32bit.  The OS is CentOS 5.2/5.3

./configure --with-modules="" --with-dynmodules="ldap" --enable-recursor
...
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.

[root at BUILD x86_64 pdns-2.9.22]$ ls -l /usr/lib/libldap*
lrwxrwxrwx 1 root root     21 Jun 19 18:28 /usr/lib/libldap-2.3.so.0 -> libldap-2.3.so.0.2.15
-rwxr-xr-x 1 root root 238544 Jul  9  2008 /usr/lib/libldap-2.3.so.0.2.15
-rw-r--r-- 1 root root 387540 Jul  9  2008 /usr/lib/libldap.a
lrwxrwxrwx 1 root root     21 Jun 20 07:25 /usr/lib/libldap.so -> libldap-2.3.so.0.2.15
lrwxrwxrwx 1 root root     23 Jun 19 18:28 /usr/lib/libldap_r-2.3.so.0 -> libldap_r-2.3.so.0.2.15
-rwxr-xr-x 1 root root 255636 Jul  9  2008 /usr/lib/libldap_r-2.3.so.0.2.15
-rw-r--r-- 1 root root 424552 Jul  9  2008 /usr/lib/libldap_r.a
lrwxrwxrwx 1 root root     23 Jun 20 07:25 /usr/lib/libldap_r.so -> libldap_r-2.3.so.0.2.15
[root at 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

Any ideas?


More information about the Pdns-users mailing list