[Opendnssec-develop] ACX_LDNS and ldns-config

Rickard Bellgrim rickard.bellgrim at iis.se
Tue Aug 31 14:12:58 UTC 2010


Hi

A colleague of mine is trying to install OpenDNSSEC on Red Hat. He is using some of the packages from Tim, e.g. the ldns package, but installing OpenDNSSEC from source (wants to enable the eppclient). The configure script complains if he does not have the openssl headers installed. This is what the config.log says:

configure:4164: checking what are the ldns libs
configure:4167: result:  -L/usr/lib64 -lnsl -lcrypto -L/usr/lib64/python2.4 -L/usr/lib64 -lpython2.4  -lcrypto -lldns
configure:4189: checking for ldns_rr_new in -lldns
configure:4214: gcc -o conftest -g -O2  -I/usr/include  conftest.c -lldns    -L/usr/lib64 -lnsl -lcrypto -L/usr/lib64/python2.4 -L/usr/lib64 -lpython2.4  -lcrypto -lldns >&5
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status

Libcrypto is installed but it is really strange that the problem gets fixed when he installs the openssl headers.

My ldns-config only give me this (no lcrypto) and not the long strings as above:

$ ldns-config --libs
 -L/usr/local/lib  -lldns

$ ldns-config --cflags
-I/usr/local/include

What could be the problem here?

// Rickard





More information about the Opendnssec-develop mailing list