On 06/09/2016 03:14 PM, Jake Zack wrote: > [root@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...
Getting stranger. What does: /usr/bin/ldns-config --version /usr/bin/ldns-config --libs output as result? You could also try to configure OpenDNSSEC using: ./configure --with-ldns=/usr/lib64 Instead of just /usr. > Nothing on this box has been installed manually...all comes from Satellite > RHEL and EPEL. > > -jake > > -----Original Message----- > From: Opendnssec-user [mailto:[email protected]] > On Behalf Of Tom Hendrikx > Sent: Wednesday, June 08, 2016 5:12 PM > To: [email protected] > Subject: Re: [Opendnssec-user] Questions about compiling 1.4.8.2 > > On 08-06-16 22:40, Jake Zack wrote: >> [root@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@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@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@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 > [email protected] > https://lists.opendnssec.org/mailman/listinfo/opendnssec-user > _______________________________________________ > Opendnssec-user mailing list > [email protected] > https://lists.opendnssec.org/mailman/listinfo/opendnssec-user > _______________________________________________ Opendnssec-user mailing list [email protected] https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
