Re: lintian and binary plugins
> > perhaps lintian could ignore .so files outside of /lib, /usr/lib,
> > /usr/X11R6/lib?
>
> Agreed.
>
> AIUI, we're just waiting for someone to implement this.
It looks pretty easy... i'll file a normal bug
against lintian with following patch.
any comments?
- dave
--- lintian-1.11.2/checks/shared-libs.orig Wed Jun 7 13:13:52 2000
+++ lintian-1.11.2/checks/shared-libs Wed Jun 7 13:18:17 2000
@@ -104,6 +104,13 @@
# symlink found?
my ($dir, $shlib_name) = $shlib_file =~ m,(.*)/([^/]+)$,;
+
+ # if the .so file is not in a global directory, it is a plugin,
+ # so the shared-library policy does not apply to it.
+ if (! defined $ldso_dir{$dir}) {
+ next;
+ }
+
$link_file = "$dir/$SONAME{$shlib_file}";
if (not exists $index_info{$link_file}) {
print "E: $pkg $type: ldconfig-symlink-missing-for-shlib $shlib_file $SONAME{$shlib_file}\n";
Reply to: