HEADS-UP: New shared library versions coming soon

Daniel O'Connor doconnor at gsoft.com.au
Sat Jul 23 04:51:54 GMT 2005


On Saturday 23 July 2005 05:27, Richard Todd wrote:
> libchk (/usr/ports/sysutils/libchk) is a nice Python script that automates
> the "ldd on each binary" bit and gives you a list of .sos that aren't being
> used by anything.  You do have to eyeball the list before doing a mass
> purge of any unreferenced .sos, as there are some apps (Mozilla/Firefox is
> one IIRC) which have .so files which are loaded by the program as needed
> but which don't show up as fixed dependencies via ldd.  Still, the libchk
> list ought to at least give you a starting point.

You could probably extend it to use /var/db/pkg/*/+CONTENTS to exclude stuff 
like that (ie things explicitly referenced by a port).

No, I don't have a patch to make it do this :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050723/979bc207/attachment.bin


More information about the freebsd-current mailing list