[getdns-api] How to specify ldns in ./configure?

Paul Hoffman paul.hoffman at vpnc.org
Sun May 11 12:21:26 MST 2014


I am building libidn and ldns from scratch. I use the command:

# ./configure --with-libidn=/home/dns/libidn --with-libldns=/home/dns/ldns-1.6.17

This ends in:

checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: Checking for dependency ldns
checking for ldns_dname_new_frm_str in -lldns... no
configure: Checking for dependency libidn
checking for idna_to_ascii_8z in -lidn... yes
configure: error: One more dependencies is missing

# ls -la /home/dns/ldns-1.6.17
total 24
drwxr-xr-x  6 dns dns 4096 May 11 12:01 .
drwxr-xr-x 15 dns dns 4096 May 11 12:01 ..
drwxr-xr-x  2 dns dns 4096 May 11 12:01 bin
drwxr-xr-x  3 dns dns 4096 May 11 12:01 include
drwxr-xr-x  2 dns dns 4096 May 11 12:01 lib
drwxr-xr-x  3 dns dns 4096 May 11 12:01 share

Am I not using the right bit for --with-libldns? I also tried --with-libldns=/home/dns/ldns-1.6.17/lib, but got the same result.

--Paul Hoffman


More information about the getdns-api mailing list