gamelinux / passivedns

A network sniffer that logs all DNS server replies for use in a passive DNS setup
http://gamelinux.org/
1.67k stars 372 forks source link

can't compile -- checking for ldns_pkt_get_rcode in -lldns... no #113

Closed phreakocious closed 5 years ago

phreakocious commented 5 years ago

I'm running into the same problem described in #66 ..

OpenBSD 6.5, ldns and openssl packages installed Must specify --with-ldns-includes=/usr/local/include for ldns.h to be found.

No incantation similar to what was described in #66 has had different results. I've tried specifying the include and library paths for both LibreSSL and OpenSSL (/usr/local/include/eopenssl, /usr/local/lib/eopenssl) but the results are consistently the same.

Thanks for any help you can provide!

$ ./configure --with-ldns-includes=/usr/local/include checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking build system type... x86_64-unknown-openbsd6.4 checking host system type... x86_64-unknown-openbsd6.4 checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for pcap_loop in -lpcap... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking ldns/ldns.h usability... yes checking ldns/ldns.h presence... yes checking for ldns/ldns.h... yes checking for ldns_pkt_get_rcode in -lldns... no -e ERROR! ldns library not found $

phreakocious commented 5 years ago

Tried this again and can't get it to reproduce. Closing this.