Git Product home page Git Product logo

danetls's People

Contributors

shuque avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

danetls's Issues

Doesn't work on newer getdns library versions

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?

A complete guide to install is missing

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.