/lib symlinks problem?

Ruslan Ermilov ru at freebsd.org
Mon Sep 1 02:32:46 PDT 2003


On Mon, Sep 01, 2003 at 01:58:52AM -0700, Doug Barton wrote:
> On Mon, 1 Sep 2003, M. Warner Losh wrote:
> 
> > My tool is initially just a 'delete these files' tool, but now that I
> > think about it, it wouldn't be hard to say also 'create these
> > symlinks'.  The hard part here is generating the 'obsolete' lists.
> 
> I posted one approach to this today... touch a file right before you
> start installworld, then consider anything not newer than that file a
> candidate for disposal. There is currently something weird going on in
> /usr/lib though... a lot of the files don't have newer dates, I haven't
> tracked down why yet.
> 
This is because static libraries are installed with -C.  The reasoning
was like this:

On Sat, Mar 30, 2002 at 02:15:56PM +0100, Dag-Erling Smorgrav wrote:
> Ruslan Ermilov <ru at FreeBSD.org> writes:
> > On Fri, Mar 22, 2002 at 12:28:17PM -0800, Dag-Erling Smorgrav wrote:
> > >   Log:
> > >   Install static and profiled libraries with -C.
> > Um why, what's so special about them?
>
> They appear in dependency lists.  This was discussed on -arch.

This also will not work for anything that has not changed and is
installed with -C, that is includes, rtld-elf, and some parts of
/sys/boot.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru at sunbay.com		Sunbay Software Ltd,
ru at FreeBSD.org		FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030901/f4afed10/attachment.bin


More information about the freebsd-current mailing list