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

Aki Tuomi cmouse at youzen.ext.b2.fi
Wed Apr 10 06:12:57 UTC 2013

On Wed, Apr 10, 2013 at 08:06:45AM +0300, Nikolaos Milas wrote:
> 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
> openldap-devel-2.4.23-32.el6_4.x86_64
> [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
> -> liblber.so
> lrwxrwxrwx  1 root root 27 Mar 11 16:06 /usr/lib64/liblber.so ->
> /lib64/liblber-2.4.so.2.5.6

Sorry I had misspelled the path to the library in my email. I ment ofc 

Your problem appears to be that the linker does not realize that it is 
suppose to link with this library.

You can try this temporary solution, to see whether it fixes this:

LDFLAGS="-lber" ./configure <your configure options here>

If this helps, it means that the ldap stuff needs to be fixed to take 
liblber into account.

Aki Tuomi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130410/5d4ab63b/attachment-0001.sig>

More information about the Pdns-users mailing list