Lintian ReportsBETA

lacks-unversioned-link-to-shared-library

A -dev package is supposed to install an unversioned symbolic link that references the shared library by name.

There is no requirement that the names are otherwise related.

The dynamic linker uses the link to load the executable into memory.

In most cases, the symbolic link should be in the same folder as the library itself. A major exception are libraries installed under /lib. In those cases, the links should go into the corresponding folders under /usr.

For a library installed as /lib/i386-linux-gnu/libXYZ.so.V, a good link would be /usr/lib/i386-linux-gnu/libXYZ.so.

This tag is emitted for the library package and not for the -dev package. That is because Lintian looks for links after locating the library. The links can be in any of several installables, but there is only one library for each set of links pointing to it.

For more information please consult:

  • debian-policy 8.4 Bug#963099

The tag is present in Lintian version 2.114.163. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.114.0 release tag in our Git repository.

You can find the detection logic for this version at commit ea05801. For merge requests, please use the latest version in the Lintian check libraries/shared/links.

Visibility: warning

Renamed from:
  • dev-pkg-without-shlib-symlink

The following 66 source packages in the archive triggered the tag 346 times (in any Lintian version).

We found 21 overrides. The tag performed 94% of the time.