[Opendnssec-user] Questions about compiling 1.4.8.2

Jake Zack jake.zack at cira.ca
Thu Jun 9 14:05:11 UTC 2016


1)  There is a directory /usr/include/ldns

2) ldns.h and util.h are present in /usr/include/ldns

3)  util.h properly reports version 1.6.17

[root at qa-ftld-03 ldns]# grep -i ldns_version util.h
#define LDNS_VERSION "1.6.17"

4) 'locate ldns.h' only reports the one in /usr/include/ldns

[root at qa-ftld-03 ldns]# locate ldns.h
/usr/include/ldns/ldns.h

-jake

-----Original Message-----
From: Berry A.W. van Halderen [mailto:berry at nlnetlabs.nl] 
Sent: Thursday, June 09, 2016 9:58 AM
To: Jake Zack; opendnssec-user at lists.opendnssec.org
Subject: Re: [Opendnssec-user] Questions about compiling 1.4.8.2

On 06/09/2016 03:41 PM, Jake Zack wrote:
> [root at qa-ftld-01 opendnssec-1.4.8.2]# /usr/bin/ldns-config --version
> 1.6.17
> [root at qa-ftld-01 opendnssec-1.4.8.2]# /usr/bin/ldns-config --libs
>   -L/usr/lib64 -lpython2.6 -L/usr/lib64   -lcrypto -lldns
> 
> [root at qa-ftld-01 opendnssec-1.4.8.2]# ./configure --with-database-backend=mysql --with-ldns=/usr/lib64 |grep -i ldns
> checking for ldns-config... no
> checking what are the ldns includes... -I/usr/lib64/include
> checking what are the ldns libs... -L/usr/lib64/lib -lldns
> checking for ldns_rr_new in -lldns... yes
> checking for ldns version... < 1.6.12
> configure: error: ldns library too old (1.6.12 or later required)

Hmm, that was not right of me, should not be --with-ldns=/usr/lib64.

> checking what are the ldns includes... -I/usr/lib64/include
> checking what are the ldns libs... -L/usr/lib64/lib -lldns
> checking for ldns_rr_new in -lldns... yes
> checking for ldns version... < 1.6.12
> configure: error: ldns library too old (1.6.12 or later required)
> 
> I just don't get it.
> 

Just some entries now to try to track things down:
- There is a directory "/usr/include/ldns" right?
- Within it I'd expect a file "ldns.h" and "util.h", they are there?
- Within the file util.h. there should be a "#define LDNS_VERSION",
which version is stated there?
- does locate ldns.h only result in /usr/include/ldns/ldns.h ?

You can send me the file "config.log" produced by the configure script,
it should contain more information.

Unfortunately I do not have access to the RHEL repository.

\Berry




More information about the Opendnssec-user mailing list