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

Paul Hoffman paul.hoffman at vpnc.org
Mon May 12 17:42:35 CEST 2014


On May 12, 2014, at 8:26 AM, Willem Toorop <willem at nlnetlabs.nl> wrote:

> op 12-05-14 16:51, Paul Hoffman schreef:
>> I was incorrect below when I said that I compiled ldns with no extra configure options. It was in fact compiled with:
>> 
>> ./configure --disable-shared --with-ssl=/home/dns/openssl1 --prefix=/home/dns/ldns-1.6.17
> 
> Hi Paul, --disable-shared means that the libldns.so is not build, not
> that the .so is linked statically.  Could you try configure (of getdns)
> with LD_LIBRARY_PATH set to /home/dns/openssl1?
> 
> i.e. in the getdns directory:
> 
> LD_LIBRARY_PATH=/home/dns/openssl1 ./configure
> 
> b.t.w. you will need the LD_LIBRARY_PATH to have that value in running
> things too, so you might just want to export that value.

That did not work for compiling getdns, but the fact that --disable-shared didn't do what I thought it was doing may be a clue. Let me bumble around more with a different local build of ldns without --disable-shared. I'll get back to you.

--Paul Hoffman



More information about the spec mailing list