]> err.no Git - dpkg/commit
dpkg-shlibdeps: Always try the realpath of the lib as fallback to identify the associ...
authorRaphael Hertzog <hertzog@debian.org>
Wed, 28 Nov 2007 09:33:53 +0000 (10:33 +0100)
committerRaphael Hertzog <hertzog@debian.org>
Wed, 28 Nov 2007 09:33:53 +0000 (10:33 +0100)
commit5d139acefcc19b15ae81fcf2b746e258b14d5a71
treeeceb82e6fedf9b1971dff71aa4d0b062e9eb254a
parentf6b8ae3915b55aa34af5e588c7c72058bb6769ea
dpkg-shlibdeps: Always try the realpath of the lib as fallback to identify the associated package

* scripts/dpkg-shlibdeps.pl (find_packages): Make sure to always
  return [''] for a miss in the 'dpkg -S' query.
* scripts/dpkg-shlibdeps.pl: Always try the realpath($lib) as
  fallback to identify the package (even if it's not a symlink)
  because due to broken RPATH we might get library filenames such as
  "/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libssl.so.9.8"
  which is not a symlink and which can still be simplified to
  "/usr/lib/libssl.so.9.8" with realpath().
ChangeLog
debian/changelog
scripts/dpkg-shlibdeps.pl