Packages libnats3.7t64 and libnats-dev do not install static library

Bug #2065651 reported by Nikolay Nikolov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nats.c (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.