summaryrefslogtreecommitdiffstats
path: root/tags/e/empty-shlibs.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/e/empty-shlibs.tag')
-rw-r--r--tags/e/empty-shlibs.tag17
1 files changed, 17 insertions, 0 deletions
diff --git a/tags/e/empty-shlibs.tag b/tags/e/empty-shlibs.tag
new file mode 100644
index 0000000..34390e7
--- /dev/null
+++ b/tags/e/empty-shlibs.tag
@@ -0,0 +1,17 @@
+Tag: empty-shlibs
+Severity: error
+Check: debian/shlibs
+Renamed-From:
+ pkg-has-shlibs-control-file-but-no-actual-shared-libs
+Explanation: Although the package does not include any shared libraries, it does
+ have a shlibs control file. If you did include a shared library, check that
+ the SONAME of the library is set and that it matches the contents of the
+ shlibs file.
+ .
+ SONAMEs are set with something like <code>gcc -Wl,-soname,libfoo.so.0</code>,
+ 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.
+ .
+ Note this is sometimes triggered for packages with a private shared
+ library due to a bug in Debhelper.
+See-Also: Bug#204975, Bug#633853