Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2007 11:24:27 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Specs for saving old shared libs
Message-ID:  <17997.50475.233127.735076@jerusalem.litteratus.org>
In-Reply-To: <20070518154727.019d3c31@gumby.homeunix.com.>
References:  <20070507184231.GA50639@xor.obsecurity.org> <1179437517.8912.5.camel@ikaros.oook.cz> <20070518075058.GB1164@turion.vk2pj.dyndns.org> <200705181409.15561.mail@maxlor.com> <17997.40528.630013.491475@jerusalem.litteratus.org> <20070518154727.019d3c31@gumby.homeunix.com.>

next in thread | previous in thread | raw e-mail | index | archive | help


RW writes:

>  > >  The last part seems to be the catch here. How about providing a
>  > >  tool that scans all binaries in the standard locations for what
>  > >  libs they depend on, and also allows the user/admin to specify
>  > >  the paths to binaries that he installed on his own, then outputs
>  > >  a list of unused libraries?
>  > 
>  > 	Are you aware of "libchk" and "portsclean"?
>  
>  I have dozens of these libraries in my compat/pkg  directory and I doubt
>  that any should be needed, since I'm fully up-to-date, and mostly use
>  portmanager.

	<do not try this at home>
	When in need of emergency disk space, my first trick is to
flush /usr/ports/distfiles and /usr/obj.
	If that's not enough, I empty /usr/local/lib/compat/pkg.  About
one time in twenty I discover something important was depending on a
deleted lib.  _So far_ , every time I have been able to fix this by
sym-linking lib<foo>,N to lib<foo>.N+1.
	</do not try this at home>


					Robert Huff



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