[Opendnssec-develop] build opendnssec with ldns in /usr/lib64

Matthijs Mekking matthijs at pletterpet.nl
Mon Sep 1 10:38:45 UTC 2014


Hi,

[CC Jan Zorz]

This setup has ldns in /usr/lib64 and /usr/include

I assume The problem here is that with ./configure, the ldns library
cannot be found, because by default it does not take into account
/usr/lib64 and with ./configure --with-ldns=/usr/lib64, it cannot found
the header files, because now it is looking in /usr/lib64/include.

Although ldns-config is giving the correct cflags and libs values:

# ldns-config --cflags
-I/usr/include

# ldns-config --libs
-L/usr/lib64 -lpython2.6 -L/usr/lib64   -lcrypto -lldns


Any advise/fix required?

Best regards,
  Matthijs

On 08/29/2014 06:55 PM, Jan Zorz - ISOC wrote:
> On 29/08/14 17:59, Matthijs Mekking wrote:
>> On 08/29/2014 03:38 PM, Jan Zorz - ISOC wrote:
>>> On 29/08/14 14:33, Matthijs Mekking wrote:
>>>> I'm in. And I'm puzzled. I have no idea why it can't find the ldns
>>>> library. Maybe it is worth it asking the opendnssec-user mailing list?
>>>
>>> I would say that configure script needs to be fixed as it does not
>>> understand versioning correctly.
>>
>> When I ran it, its not the coding it complains about. It could not find
>> the library at all.
> 
> sources: /root/opendnssec/opendnssec-1.4.6
> 
> ./configure --with-ldns=/usr/lib64/
> 
> checking for ldns version... < 1.6.12
> configure: error: ldns library too old (1.6.12 or later required)
> 
> [root at dnssec-signer opendnssec-1.4.6]# ls -al /usr/lib64/libldns.so*
> lrwxrwxrwx 1 root root     17 Aug 21 16:32 /usr/lib64/libldns.so ->
> libldns.so.1.6.16
> lrwxrwxrwx 1 root root     17 May 19 17:00 /usr/lib64/libldns.so.1 ->
> libldns.so.1.6.16
> -rwxr-xr-x 1 root root 347464 May 29  2013 /usr/lib64/libldns.so.1.6.16
> 
> I think that version checking in configure doesn't work
> 
> Cheers, Jan




More information about the Opendnssec-develop mailing list