package-name-doesnt-match-sonames

The package name of a library package should usually reflect the soname of the included library. The package name can determined from the library file name with the following code snippet:

$ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
    sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/; s/(.*)/\L&/'
Severity: warning
Experimental: false

See also