Public bug reported: libnats-dev installs /usr/lib/x86_64-linux-gnu/cmake/cnats/cnats-config.cmake When used in find_package(), the script could not find static nats library.
CMake output: CMake Error at /usr/lib/x86_64-linux-gnu/cmake/cnats/cnats-config.cmake:103 (message): The imported target "cnats::nats_static" references the file "/usr/lib/x86_64-linux-gnu/libnats_static.a" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/x86_64-linux-gnu/cmake/cnats/cnats-config.cmake" but not all the files it references. Version: Ubuntu 24.04 libnats-dev: Installed: 3.7.0-1.1build2 Candidate: 3.7.0-1.1build2 Version table: *** 3.7.0-1.1build2 500 500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages 100 /var/lib/dpkg/status ** Affects: nats.c (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065651 Title: Packages libnats3.7t64 and libnats-dev do not install static library To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nats.c/+bug/2065651/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs