[Opendnssec-user] Questions about compiling 1.4.8.2

Jake Zack jake.zack at cira.ca
Thu Jun 9 13:14:04 UTC 2016


[root at qa-ftld-01 opendnssec-1.4.8.2]# ./configure --with-database-backend=mysql --with-ldns=/usr |grep -i ldns
checking for ldns-config... /usr/bin/ldns-config
checking what are the ldns includes... -I/usr/include
checking what are the ldns libs...   -L/usr/lib64 -lpython2.6 -L/usr/lib64   -lcrypto -lldns
checking for ldns_rr_new in -lldns... no
configure: error: Can't find ldns library

So...can't find ldns at all when using /usr...

Nothing on this box has been installed manually...all comes from Satellite RHEL and EPEL.

-jake

-----Original Message-----
From: Opendnssec-user [mailto:opendnssec-user-bounces at lists.opendnssec.org] On Behalf Of Tom Hendrikx
Sent: Wednesday, June 08, 2016 5:12 PM
To: opendnssec-user at lists.opendnssec.org
Subject: Re: [Opendnssec-user] Questions about compiling 1.4.8.2

On 08-06-16 22:40, Jake Zack wrote:
> [root at qa-ftld-03 opendnssec-1.4.8.2]# ./configure
> --with-database-backend=mysql --with-ldns=/usr/local |grep -i ldns
> 
> checking for ldns-config... no
> 
> checking what are the ldns includes... -I/usr/local/include
> 
> checking what are the ldns libs... -L/usr/local/lib -lldns
> 
> checking for ldns_rr_new in -lldns... yes
> 
> configure: error: ldns library too old (1.6.12 or later required)
> 
> checking for ldns version... < 1.6.12
> 
>  
> 
> [root at qa-ftld-03 opendnssec-1.4.8.2]# rpm -qa |grep -i ldns
> 
> ldns-1.6.17-1.el6.x86_64
> 
> ldns-devel-1.6.17-1.el6.x86_64

I don't know muhc about rpm distro's, but I don't think you'll find the
rpm packaged ldns in /usr/local/. Maybe you manually installed an older
version in /usr/local that is detected before the rpm version?

What happens when you do:
./configure --with-database-backend=mysql --with-ldns=/usr |grep -i ldns


> 
>  
> 
> And then there's this machine that works...
> 
>  
> 
> [root at ote-ftld-01 opendnssec-1.4.8.2]# ./configure
> --with-database-backend=mysql --with-ldns=/usr/local |grep -i ldns
> 
> checking for ldns-config... no
> 
> checking what are the ldns includes... -I/usr/local/include
> 
> checking what are the ldns libs... -L/usr/local/lib -lldns
> 
> checking for ldns_rr_new in -lldns... yes
> 
> checking for ldns version... >= 1.6.12
> 
> checking for ldns-config... no
> 
> checking what are the ldns includes... -I/usr/local/include
> 
> checking what are the ldns libs... -L/usr/local/lib -lldns
> 
> checking for ldns version not 1.6.14... ok
> 
> checking for ldns-config... no
> 
> checking what are the ldns includes... -I/usr/local/include
> 
> checking what are the ldns libs... -L/usr/local/lib -lldns
> 
> checking for ldns version not 1.6.15... ok
> 
>  
> 
> [root at ote-ftld-01 opendnssec-1.4.8.2]# rpm -qa |grep -i ldns
> 
> ldns-1.6.17-1.el6.x86_64
> 
> ldns-devel-1.6.17-1.el6.x86_64
> 
>  
> 
> Can anyone think of a reason that this could be?  1.6.17 is clearly a
> higher version than 1.6.12...and it's clearly finding the library...
> 
>  
> 
> Thanks,
> 
> -Jacob Zack
> 
> Sr. DNS Administrator - CIRA (.CA TLD)
> 

Regards,
	Tom

_______________________________________________
Opendnssec-user mailing list
Opendnssec-user at lists.opendnssec.org
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user



More information about the Opendnssec-user mailing list