Lintian ReportsBETA

sharedobject-in-library-directory-missing-soname

A shared object was identified in a library directory (a directory in the standard linker path) which doesn't have a SONAME. This is usually an error.

SONAMEs are set with something like gcc -Wl,-soname,libfoo.so.0, where 0 is the major version of the library. If your package uses libtool, then libtool invoked with the right options should be doing this.

To view the SONAME of a shared library, run readelf -d on the shared library and look for the tag of type SONAME.

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.112.0 release tag in our Git repository.

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

Visibility: error

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

We found 138 overrides. The tag performed 28% of the time.