Discussion:
[Opendnssec-user] Questions about compiling 1.4.8.2
Jake Zack
2016-06-08 20:40:06 UTC
Permalink
[***@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

[***@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

And then there's this machine that works...

[***@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

[***@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)
Tom Hendrikx
2016-06-08 21:12:14 UTC
Permalink
Post by Jake Zack
--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
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
Post by Jake Zack
And then there’s this machine that works…
--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
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
Jake Zack
2016-06-09 13:14:04 UTC
Permalink
[***@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-***@lists.opendnssec.org] On Behalf Of Tom Hendrikx
Sent: Wednesday, June 08, 2016 5:12 PM
To: opendnssec-***@lists.opendnssec.org
Subject: Re: [Opendnssec-user] Questions about compiling 1.4.8.2
Post by Jake Zack
--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
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
Post by Jake Zack
And then there's this machine that works...
--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
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
Berry A.W. van Halderen
2016-06-09 13:39:27 UTC
Permalink
Post by Jake Zack
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.
Post by Jake Zack
Nothing on this box has been installed manually...all comes from Satellite RHEL and EPEL.
-jake
-----Original Message-----
Sent: Wednesday, June 08, 2016 5:12 PM
Subject: Re: [Opendnssec-user] Questions about compiling 1.4.8.2
Post by Jake Zack
--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
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?
./configure --with-database-backend=mysql --with-ldns=/usr |grep -i ldns
Post by Jake Zack
And then there's this machine that works...
--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
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
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
_______________________________________________
Opendnssec-user mailing list
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
Jake Zack
2016-06-09 13:41:26 UTC
Permalink
[***@qa-ftld-01 opendnssec-1.4.8.2]# /usr/bin/ldns-config --version
1.6.17
[***@qa-ftld-01 opendnssec-1.4.8.2]# /usr/bin/ldns-config --libs
-L/usr/lib64 -lpython2.6 -L/usr/lib64 -lcrypto -lldns

[***@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)

I just don't get it.

-jake

-----Original Message-----
From: Opendnssec-user [mailto:opendnssec-user-***@lists.opendnssec.org] On Behalf Of Berry A.W. van Halderen
Sent: Thursday, June 09, 2016 9:39 AM
To: opendnssec-***@lists.opendnssec.org
Subject: Re: [Opendnssec-user] Questions about compiling 1.4.8.2
Post by Jake Zack
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.
Post by Jake Zack
Nothing on this box has been installed manually...all comes from Satellite RHEL and EPEL.
-jake
-----Original Message-----
Sent: Wednesday, June 08, 2016 5:12 PM
Subject: Re: [Opendnssec-user] Questions about compiling 1.4.8.2
Post by Jake Zack
--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
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?
./configure --with-database-backend=mysql --with-ldns=/usr |grep -i ldns
Post by Jake Zack
And then there's this machine that works...
--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
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
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
_______________________________________________
Opendnssec-user mailing list
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
Berry A.W. van Halderen
2016-06-09 13:58:29 UTC
Permalink
Post by Jake Zack
1.6.17
-L/usr/lib64 -lpython2.6 -L/usr/lib64 -lcrypto -lldns
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.
Post by Jake Zack
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
Jake Zack
2016-06-09 14:05:11 UTC
Permalink
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

[***@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

[***@qa-ftld-03 ldns]# locate ldns.h
/usr/include/ldns/ldns.h

-jake

-----Original Message-----
From: Berry A.W. van Halderen [mailto:***@nlnetlabs.nl]
Sent: Thursday, June 09, 2016 9:58 AM
To: Jake Zack; opendnssec-***@lists.opendnssec.org
Subject: Re: [Opendnssec-user] Questions about compiling 1.4.8.2
Post by Jake Zack
1.6.17
-L/usr/lib64 -lpython2.6 -L/usr/lib64 -lcrypto -lldns
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.
Post by Jake Zack
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
Jake Zack
2016-06-09 14:19:02 UTC
Permalink
Issue resolved after looking into config.log as suggested by Berry.

Issues were with openssl-devel.

Thanks all. Seriously, excellent community around this product. :)

-jake

-----Original Message-----
From: Opendnssec-user [mailto:opendnssec-user-***@lists.opendnssec.org] On Behalf Of Jake Zack
Sent: Thursday, June 09, 2016 10:05 AM
To: Berry A.W. van Halderen; opendnssec-***@lists.opendnssec.org
Subject: Re: [Opendnssec-user] Questions about compiling 1.4.8.2

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

[***@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

[***@qa-ftld-03 ldns]# locate ldns.h
/usr/include/ldns/ldns.h

-jake

-----Original Message-----
From: Berry A.W. van Halderen [mailto:***@nlnetlabs.nl]
Sent: Thursday, June 09, 2016 9:58 AM
To: Jake Zack; opendnssec-***@lists.opendnssec.org
Subject: Re: [Opendnssec-user] Questions about compiling 1.4.8.2
Post by Jake Zack
1.6.17
-L/usr/lib64 -lpython2.6 -L/usr/lib64 -lcrypto -lldns
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.
Post by Jake Zack
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

Paul Wouters
2016-06-08 21:58:55 UTC
Permalink
Post by Jake Zack
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
 
ldns-1.6.17-1.el6.x86_64
ldns-devel-1.6.17-1.el6.x86_64
Looks like you have an older manual install in /usr/local ?

Paul
Jake Zack
2016-06-09 13:39:07 UTC
Permalink
Removed:
ldns.x86_64 0:1.6.17-1.el6

Dependency Removed:
ldns-devel.x86_64 0:1.6.17-1.el6

[***@qa-ftld-01 opendnssec-1.4.8.2]# updatedb
[***@qa-ftld-01 opendnssec-1.4.8.2]# locate ldns
/usr/local/newstuff/opendnssec-1.4.8.2/m4/acx_ldns.m4
/usr/local/newstuff/opendnssec-1.4.9/m4/acx_ldns.m4

Installed:
ldns.x86_64 0:1.6.17-1.el6 ldns-devel.x86_64 0:1.6.17-1.el6

[***@qa-ftld-01 opendnssec-1.4.8.2]# ./configure --with-database-backend=mysql --with-ldns=/usr/lib64 |gp -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)

There is nothing else 'ldns' on this box.

-jake


-----Original Message-----
From: Paul Wouters [mailto:***@nohats.ca]
Sent: Wednesday, June 08, 2016 5:59 PM
To: Jake Zack
Cc: opendnssec-***@lists.opendnssec.org
Subject: Re: [Opendnssec-user] Questions about compiling 1.4.8.2
Post by Jake Zack
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
 
ldns-1.6.17-1.el6.x86_64
ldns-devel-1.6.17-1.el6.x86_64
Looks like you have an older manual install in /usr/local ?

Paul
Loading...