[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#525779: [checks/shared-libs] warn about private libraries/plugins in /usr/lib



Package: lintian
Version: 2.2.9
Severity: wishlist

Hi,

Given the current pollution of /usr/lib of private libs/plugins it would be 
great if lintian warned about those.

Probably something like the following (without the false positives and based 
on objdump's output):

for f in /usr/lib/*.so.* ; do
   nm -D "$f" | egrep -q '^[a-f0-9]+ [^U] [^_]' || echo "$f is private"
done

Ideas?

Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net



Reply to: