The fedora 41 package provides a ldns.pc file. This file currently includes the line `includedir=/usr/include/ldns/ldns`. However, the package instead writes the include files to `includedir=/usr/include/ldns` which results in a `/usr/include/ldns/ldns` not found error when used with tools like cmake as the path was incorrect. Reproducible: Always Steps to Reproduce: 1. Compare the ldns.pc file with the real files on disk Actual Results: They do not match Expected Results: The includedir option matches the on-disk structure
Ah, correct. Not sure how it went wrong, but you are right it is. On top of that, there is also ldns-config tool provided by ldns-devel package. That has just /usr/include in its include path. This were done by wrong sed in spec file, which overrides updated include after multilib patch. Adding /ldns twice. But, projects like dnsperf include ldns by #include <ldns/ldns.h> statement and that means no include path specification is needed. Default should be okay, that would by why nobody complained about this before. I would recommend using include <ldns/*.h> in any your projects too. But yes, let's fix this too.
FEDORA-2025-49153d2433 (ldns-1.8.4-7.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2025-49153d2433
FEDORA-2025-49153d2433 (ldns-1.8.4-7.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.