Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2002 09:19:03 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Mark Murray <mark@grondar.org>
Cc:        Giorgos Keramidas <keramida@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: installworld and stale {include,lib} fun
Message-ID:  <20021123171903.GA22518@troutmask.apl.washington.edu>
In-Reply-To: <200211231036.gANAaGaq028385@grimreaper.grondar.org>
References:  <20021123040317.GA4320@gothmog.gr> <200211231036.gANAaGaq028385@grimreaper.grondar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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