[ldns-users] ldns --with-drill: cannot find -lcrypto

Willem Toorop willem at nlnetlabs.nl
Fri Feb 1 13:04:30 UTC 2013


Hi Leo,

You are absolutely correct. I've fixed it in trunk.
Thanks!

-- Willem

PS. Sorry for the late response. I actually noticed your post to the
unbound-users list too.

Op 31-01-13 14:30, Leo Baltus schreef:
> 
> Hi,
> 
> I just wanted to compile ldns --with-drill compiling against openssl
> which I have installed in /compile/openssl-1.0.0j
> 
> $ ./configure --with-ssl=/compile/openssl-1.0.0j --with-drill
> $ make
> 
> ./libtool --tag=CC --quiet --mode=link gcc -I. -I.  -DHAVE_CONFIG_H -I/compile/openssl-1.0.0j/include -Wwrite-strings -W -Wall -O2 -g -D_GNU_SOURCE  drill/chasetrace.lo drill/dnssec.lo drill/drill.lo drill/drill_util.lo drill/error.lo drill/root.lo drill/securetrace.lo drill/work.lo  -lcrypto -ldl -lldns -o drill/drill
> /usr/bin/ld: cannot find -lcrypto
> 
> I think that '-I/compile/openssl-1.0.0j/include' should read
> '-L/compile/openssl-1.0.0j/lib' as it is linking and not compiling at
> this stage.
> 
> Attached patch fixes this, however I have not extensively tested this so
> maybe there is a valid reason to use LIBSSL_CPPFLAGS here.
> 
> 
> 
> _______________________________________________
> ldns-users mailing list
> ldns-users at open.nlnetlabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users
> 




More information about the ldns-users mailing list