But here's an idea for a pkgsrc tool: something that would
look
in /bin/*, /sbin/*, /usr/*/*bin/*, /home/*/bin/*, etc.,
and identify
all unneeded shared libraries. A library is unneeded if
(a) there's a
later version of it, and (b) nothing in any tested
directory uses the
older version.
Yes, that would be cool. And minor versions are always
unneeded,
eg. 20.0 can go if 20.1 is present.
|