[Pdns-users] Building pdns RPMs using custom LDAP libraries/headers

Nikolaos Milas nmilas at admin.noa.gr
Wed Apr 10 05:06:45 UTC 2013

On 10/4/2013 12:33 πμ, Ruben Kerkhof wrote:

> There must be something broken in your setup, can you show us the same
> output as I just did?

[root at vmres x86_64]# rpm -qf /usr/lib64/liblber.so

[root at vmres x86_64]# ls -l /usr/lib64/liblber*
lrwxrwxrwx. 1 root root 10 Sep 21  2012 /usr/lib64/liblber-2.4.so.2 -> 
lrwxrwxrwx  1 root root 27 Mar 11 16:06 /usr/lib64/liblber.so -> 

[root at vmres x86_64]# rpm -qf /lib64/liblber-2.4.so.2.5.6

I have installed both openldap and openldap-devel packages.

Can't find anything broken. Note only that I have also installed ltb 
openldap packages, which however uses different paths to install libs 
etc, so it does not affect any system libraries:

[root at vmres x86_64]# rpm -qa | grep openldap

[root at vmres x86_64]# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf

[root at vmres x86_64]# ls -la /usr/local/openldap/lib64/liblber*
lrwxrwxrwx 1 ldap ldap     20 Mar 20 17:06 
/usr/local/openldap/lib64/liblber-2.4.so.2 -> liblber-2.4.so.2.9.0
-rw-r--r-- 1 ldap ldap 160959 Mar 12 16:39 
-rw-r--r-- 1 ldap ldap 101556 Mar 12 16:40 
-rw-r--r-- 1 ldap ldap    864 Mar 12 16:39 
lrwxrwxrwx 1 ldap ldap     20 Mar 20 17:06 
/usr/local/openldap/lib64/liblber.so -> liblber-2.4.so.2.9.0

Any ideas?


More information about the Pdns-users mailing list