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

Nikolaos Milas nmilas at admin.noa.gr
Tue Apr 9 20:26:00 UTC 2013


On 9/4/2013 9:04 μμ, Ruben Kerkhof wrote:

> I haven't followed this thread closely, so I don't know what you're 
> trying to accomplish, but powerdns is in the EPEL repo too.
> The src.rpm is at 
> http://dl.fedoraproject.org/pub/epel/6/SRPMS/pdns-3.1-2.el6.src.rpm, 
> try that one.

I just tried to build using the above SRPM, but it failed at the same 
point:

    ...
    + ./configure --build=x86_64-redhat-linux-gnu
    --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu
    --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
    --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
    --includedir=/usr/include --libdir=/usr/lib64
    --libexecdir=/usr/libexec --localstatedir=/var
    --sharedstatedir=/var/lib --mandir=/usr/share/man
    --infodir=/usr/share/info --sysconfdir=/etc/pdns
    --libdir=/usr/lib64/pdns --disable-static --with-modules= --with-lua
    '--with-dynmodules= gmysql gpgsql pipe geo ldap gsqlite3'
    --enable-cryptopp
    ...
    checking for ldap_set_option in -lldap_r... no
    checking for ldap_set_option in -lldap... no
    configure: error: ldap library (libldap) not found

The mystery remains a mystery. Any ideas?

Nick




More information about the Pdns-users mailing list