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.
(attachments)
ldns-1.6.16-withldflags.patch (567 Bytes)