From owner-freebsd-current@FreeBSD.ORG Sat Jul 23 04:51:54 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0525116A41F for ; Sat, 23 Jul 2005 04:51:54 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2127343D45 for ; Sat, 23 Jul 2005 04:51:50 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp221-241.lns3.adl2.internode.on.net [203.122.221.241]) (authenticated bits=0) by cain.gsoft.com.au (8.13.4/8.13.4) with ESMTP id j6N4pbF5091701 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 23 Jul 2005 14:21:43 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Sat, 23 Jul 2005 14:21:27 +0930 User-Agent: KMail/1.8.1 References: <1121952594.68685.27.camel@opus.cse.buffalo.edu> <20050722174802.GS39292@obiwan.tataz.chchile.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1462241.DMoyO6ND7Y"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200507231421.28210.doconnor@gsoft.com.au> X-Spam-Score: 0.05 () FORGED_RCVD_HELO X-Scanned-By: MIMEDefang 2.51 on 203.31.81.10 Cc: Richard Todd Subject: Re: HEADS-UP: New shared library versions coming soon X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 04:51:54 -0000 --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--