From owner-freebsd-current Sat Nov 23 9:19: 6 2002 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 A10FB37B401; Sat, 23 Nov 2002 09:19:05 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 412DF43E88; Sat, 23 Nov 2002 09:19:05 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.6) with ESMTP id gANHJ4Pk022589; Sat, 23 Nov 2002 09:19:04 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id gANHJ3Ex022588; Sat, 23 Nov 2002 09:19:03 -0800 (PST) Date: Sat, 23 Nov 2002 09:19:03 -0800 From: Steve Kargl To: Mark Murray Cc: Giorgos Keramidas , current@FreeBSD.ORG Subject: Re: installworld and stale {include,lib} fun Message-ID: <20021123171903.GA22518@troutmask.apl.washington.edu> References: <20021123040317.GA4320@gothmog.gr> <200211231036.gANAaGaq028385@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211231036.gANAaGaq028385@grimreaper.grondar.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Nov 23, 2002 at 10:36:16AM +0000, Mark Murray wrote: > > Apparently editors/vim-lite had picked up an old, obsolete libposix*.so > > from one of the past installations and linked against that. Deleting > > the port and reinstalling it worked like a charm, which made me think > > a bit... Should we recommend in UPDATING that source upgrades include > > something similar? Well, maybe not all the time (since ports can > > break like vim did for me), but at least under a "making your /usr as > > clean as possible" paragraph? > > I would support this, as long as it was not compulsory. > As demonstrated, you probably don't want to remove the old libraries. It is much better to do something like find /usr/lib -type f | xargs touch sleep 60 cd /usr/src make installworld You can now look for older stale (shared) libraries and then search /usr/local/bin for binaries that use those libraries. Note, the above doesn't work if you use "install -C" -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message