From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-96371-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1MDlj7-0005cb-DP
	for garchives@archives.gentoo.org; Mon, 08 Jun 2009 20:45:57 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id BEFE3E0311;
	Mon,  8 Jun 2009 20:45:51 +0000 (UTC)
Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213])
	by pigeon.gentoo.org (Postfix) with ESMTP id 7F55DE0311
	for <gentoo-user@lists.gentoo.org>; Mon,  8 Jun 2009 20:45:51 +0000 (UTC)
Received: by ewy9 with SMTP id 9so4139495ewy.34
        for <gentoo-user@lists.gentoo.org>; Mon, 08 Jun 2009 13:45:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:from:to:subject:date
         :user-agent:mime-version:content-type:content-transfer-encoding
         :content-disposition:message-id;
        bh=oxU3hx/SLO6vxAc4UXzh4oJlTTWinUccz3h2YSFabUE=;
        b=L6409a7vDg/Xhx7Y9BGP+v/WItqKf0LRqpdaU5qitqWR0L6leeWSxPP4Pn676fsu+S
         4QeTO4/2Uxxv3eTIdfZ9261oNIygaGBBVwHUhbOsfa5xo8VxHX7jM9y99qk70C250xvJ
         /g9WonJEQXdQQvRm4AVW4T1Idm8q8BHe3ExPg=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=from:to:subject:date:user-agent:mime-version:content-type
         :content-transfer-encoding:content-disposition:message-id;
        b=SdgJSAoSg/ZbaompFcfWgSQGRAkyGr4R4NBhDB5p9LVenI2BqFjAQGb8tATG/8vRv5
         EyUAC4kUTKfRpfrIb0s+9+fYez5LFaKuHNzWWBMQBnetSk2J2+LKu82XyTJba5V0uxKc
         4kKZJi4X3cc7LReNwYYWgmuz36RV9opNaFwjA=
Received: by 10.210.34.2 with SMTP id h2mr1956892ebh.72.1244493950916;
        Mon, 08 Jun 2009 13:45:50 -0700 (PDT)
Received: from nazgul.localnet (196-210-153-123-rrdg-esr-2.dynamic.isadsl.co.za [196.210.153.123])
        by mx.google.com with ESMTPS id 5sm23117eyf.8.2009.06.08.13.45.50
        (version=SSLv3 cipher=RC4-MD5);
        Mon, 08 Jun 2009 13:45:50 -0700 (PDT)
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Finding orphaned libs
Date: Mon, 8 Jun 2009 22:44:18 +0200
User-Agent: KMail/1.11.4 (Linux/2.6.29-gentoo-r5; KDE/4.2.4; x86_64; ; )
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200906082244.18324.alan.mckinnon@gmail.com>
X-Archives-Salt: a5962e58-1730-46c3-925e-dbf5de19d16a
X-Archives-Hash: 3f06cb335995af619cc3b20734bf549f

Hi,

Is there an easy way to detect the orphaned libs on and old machine who's 
install dates back to 2004? The only idea I can come up with is 

for I in /usr/lib/*.so.* ; do equery belongs $I ; done

which strikes me as being a tad overkill...


-- 
alan dot mckinnon at gmail dot com