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

John Dickinson jad at sinodun.com
Mon May 12 05:38:27 MST 2014


Hi Paul,

Can you post your config.log? There should be a section like this:

configure:10900: Checking for dependency ldns
configure:10902: checking for ldns_dname_new_frm_str in -lldns
configure:10927: cc -o conftest -g -O2 -I/usr/local/include -I/home/jad/ldns-1.6.17/include   -L/usr/local/lib -L/home/jad/ldns-1.6.17/lib conftest.c -lldns   >&5
configure:10927: $? = 0
configure:10936: result: yes

but yours should show the contents of the failed conftest.c file as well as some error messages.

regards
John

 
On 11 May 2014, at 19:21, Paul Hoffman <paul.hoffman at vpnc.org> wrote:

> 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
> _______________________________________________
> getdns-api mailing list
> getdns-api at vpnc.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.vpnc.org/pipermail/getdns-api/attachments/20140512/e185ab82/attachment.bin>


More information about the getdns-api mailing list