NLnetLabs / ldns

LDNS is a DNS library that facilitates DNS tool programming
https://nlnetlabs.nl/ldns
BSD 3-Clause "New" or "Revised" License
285 stars 94 forks source link

windows binary of drill? #234

Closed cakruege closed 5 months ago

cakruege commented 5 months ago

Hi,

has anyone tried to compile a windows binary of drill (ideally a static version). I'm failing with mingw during configure because ssl is missing. mingw provides only openssl 3 and openssl 1 seems to be needed

greetings Carsten

wcawijngaards commented 5 months ago

There is a compile from 2011, here https://nlnetlabs.nl/~wouter/ldns-1.7.1.zip for version 1.7.1. Also a 32bit version and snapshot compile there.

wcawijngaards commented 5 months ago

With the latest commits, the code repository at version https://github.com/NLnetLabs/ldns/commit/073c30f4fda112dfde5c42658afc421de3986305 can compile a windows binary with OpenSSL 3.2. There is a compile of that snapshot of the code repository, here, https://nlnetlabs.nl/~wouter/ldns-1.8.3_20240130.zip .

wcawijngaards commented 5 months ago

Changed that zipfile to get the snapshot for commit https://github.com/NLnetLabs/ldns/commit/1ea912e71940397a09be5deb45564520396582af so that the executables have correct names.

wcawijngaards commented 5 months ago

And another change to the file with the snapshot of 1.8.3, now for commit https://github.com/NLnetLabs/ldns/commit/69738df1c091aa02127cdb6da1d3a6b04a7d8735 . This makes it include the libldns.dll and ldns-config parameters, and some other dll information.

cakruege commented 5 months ago

Thank you very much!