From: Raphael Hertzog Date: Mon, 24 Sep 2007 15:57:44 +0000 (+0200) Subject: dpkg-shlibdeps also fails when it can't find the library X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee9f8c8ae478206bda6bdab82256fb309e5d314f;p=dpkg dpkg-shlibdeps also fails when it can't find the library --- diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl index e1f791b3..239e00a9 100755 --- a/scripts/dpkg-shlibdeps.pl +++ b/scripts/dpkg-shlibdeps.pl @@ -97,7 +97,7 @@ foreach my $file (keys %exec) { my %libfiles; foreach my $soname (@sonames) { my $file = my_find_library($soname, $obj->{RPATH}, $obj->{format}); - warning("Couldn't find library $soname.") unless defined($file); + failure(sprintf(_g("couldn't find library %s (note: only packages with 'shlibs' files are looked into)."), $soname)) unless defined($file); $libfiles{$file} = $soname if defined($file); } my $file2pkg = find_packages(keys %libfiles);