[Opendnssec-user] Questions about compiling 1.4.8.2

Tom Hendrikx tom at whyscream.net
Wed Jun 8 21:12:14 UTC 2016


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




More information about the Opendnssec-user mailing list