Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2005 14:21:27 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-current@freebsd.org
Cc:        Richard Todd <rmtodd@ichotolot.servalan.com>
Subject:   Re: HEADS-UP: New shared library versions coming soon
Message-ID:  <200507231421.28210.doconnor@gsoft.com.au>
In-Reply-To: <x7k6jiobpt.fsf@ichotolot.servalan.com>
References:  <1121952594.68685.27.camel@opus.cse.buffalo.edu> <20050722174802.GS39292@obiwan.tataz.chchile.org> <x7k6jiobpt.fsf@ichotolot.servalan.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1462241.DMoyO6ND7Y
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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 bei=
ng
> 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 stuf=
f=20
like that (ie things explicitly referenced by a port).

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

=2D-=20
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

--nextPart1462241.DMoyO6ND7Y
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBC4czQ5ZPcIHs/zowRAnYVAJ98j6V1mu0R/ziyK1DCdejpbm8NvACdGxwr
+Glwx84aPwrFi2q6D3yrvgM=
=xt0L
-----END PGP SIGNATURE-----

--nextPart1462241.DMoyO6ND7Y--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507231421.28210.doconnor>