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

how to use ldns-config in right way ? #223

Open perlang opened 11 months ago

perlang commented 11 months ago

Since I want to compile the newest opendnssec-2.1.13 on RockyLinux 9.2. And I have installed ldns-devel with dnf. when I configure opendnssec-2.1.13, it report , ... checking what are the ldns libs... -Wl,-z,now -pie -L/usr/lib64 -l@PYTHON_LIB@ -L/usr/lib64 -lssl -lcrypto -lldns checking for ldns_rr_new in -lldns... no

So I check config.log and then /usr/bin/ldns-config, I found it is the source of the '@PYTHON_LIB@', after I replace it with 'python3.9', the configure script under opendnssec-2.1.13/ could work.

My question is , if I don't modify /usr/bin/ldns-config, it there any more gracefully way to do it in my case ? Thanks in advanced.

Regards, perlang