shuque / danetls Goto Github PK
View Code? Open in Web Editor NEWProgram to test DANE enabled TLS Services
License: MIT License
Program to test DANE enabled TLS Services
License: MIT License
I am unable to compile danetls on a machine running Debian Bullseye (11). The reason is that getdns_ext_event is missing.
Debian 10:
# dpkg -l | grep getdns
ii libgetdns-dev 1.5.1-1
Debian 11:
# dpkg -l | grep getdns
ii libgetdns-dev:amd64 1.6.0-2
Compile output on Debian 11 is:
# make clean; make
rm -rf *.o danetls danetls-getdns
cc -g -Wall -Wextra -I. -I/usr/local/openssl/include -I/usr/local/include -c -o danetls.o danetls.c
cc -g -Wall -Wextra -I. -I/usr/local/openssl/include -I/usr/local/include -c -o query-ldns.o query-ldns.c
cc -g -Wall -Wextra -I. -I/usr/local/openssl/include -I/usr/local/include -c -o utils.o utils.c
cc -g -Wall -Wextra -I. -I/usr/local/openssl/include -I/usr/local/include -c -o tls.o tls.c
cc -g -Wall -Wextra -I. -I/usr/local/openssl/include -I/usr/local/include -c -o starttls.o starttls.c
cc -g -Wall -Wextra -I. -I/usr/local/openssl/include -I/usr/local/include -c -o tlsardata.o tlsardata.c
cc -L/usr/local/openssl/lib -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/openssl/lib -Wl,-rpath -Wl,/usr/local/lib -o danetls danetls.o query-ldns.o utils.o tls.o starttls.o tlsardata.o -lssl -lcrypto -lldns
cc -g -Wall -Wextra -I. -I/usr/local/openssl/include -I/usr/local/include -c -o danetls-getdns.o danetls-getdns.c
cc -g -Wall -Wextra -I. -I/usr/local/openssl/include -I/usr/local/include -c -o query-getdns.o query-getdns.c
cc -L/usr/local/openssl/lib -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/openssl/lib -Wl,-rpath -Wl,/usr/local/lib -o danetls-getdns danetls-getdns.o query-getdns.o utils.o tls.o starttls.o tlsardata.o -lssl -lcrypto -lldns -lgetdns_ext_event -lgetdns -levent_core -lunbound -lidn
/usr/bin/ld: cannot find -lgetdns_ext_event
collect2: error: ld returned 1 exit status
make: *** [Makefile:30: danetls-getdns] Error 1
It's possible that this has something to do with:
getdnsapi/getdns#470
Could you please check?
Running Ubuntu 18.04. Installed the dependencies as you state without errors.
Upon compiling your program I receive:
➜ danetls git:(master) ✗ make
cc -g -Wall -Wextra -I. -I/usr/local/openssl/include -I/usr/local/include -c -o query-getdns.o query-getdns.c
query-getdns.c:27:14: fatal error: event.h: No such file or directory
#include <event.h>
^~~~~~~~~
compilation terminated.
<builtin>: recipe for target 'query-getdns.o' failed
make: *** [query-getdns.o] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.