lacks-unversioned-link-to-shared-library
A "-dev" package is supposed to install a "libsomething.so" symbolic link referencing the corresponding shared library. Notice how the link name doesn't include the version number -- this is because such a link is used by the linker when other programs are built against this shared library.
The symlink is generally expected in the same directory as the library
itself. The major exception to this rule is if the library is installed
in (or beneath) /lib
, where the symlink must be installed in the
same dir beneath /usr
.
Example: If the library is installed in /lib/i386-linux-gnu/libXYZ.so.V
,
the symlink is expected at /usr/lib/i386-linux-gnu/libXYZ.so
.
Implementation detail: This tag is emitted for the library package and not the "-dev" package.
For more information please consult:
- Development files (Section 8.4) in the Debian Policy Manual
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 ca97c3a. For merge requests, please use the latest version in the Lintian check libraries/shared/links.
Visibility: warning
- dev-pkg-without-shlib-symlink