poldek_file( "/usr/lib*/perl*/$mod", "/usr/share/perl*/$mod" );
}
- if ( m{^(?:/usr/bin/ld: )?cannot find -l(.*?)$} ) {
+ if (
+ m{^(?:/usr/bin/ld: )?cannot find -l(.*?)$}
+ ) {
my $lib = $1;
warn "Looking for library $lib\n";
poldek_file( "/usr/lib64/lib$lib.so", "/usr/lib/lib$lib.so",
"/usr/lib*/lib$lib.so" );
}
- if ( m{^error: Couldn't exec (/\S+): No such file or directory$}
+
+ # full path to ldd files
+ if (
+ m{^WARNING; can.*t resolve .* dependency: (.*?)$}
+ ) {
+ my $lib = $1;
+ warn "Looking for library '$lib'\n";
+ poldek_file( "/usr/lib64/$lib", "/usr/lib/$lib", "/lib64/$lib", "/lib/$lib");
+ }
+
+ if ( m{^error: Couldn't exec (/\S+): No such file or directory$}
or m{^Can't open perl script "(/\S+)": No such file or directory$}
or m{unable to open (/\S+) \(No such file or directory\)$}
or m{GConf-CRITICAL \*\*: No such file `(/.\S+?)'$}