Can I remove lib-elf.so.1?

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Jun 26 09:34:36 PDT 2003


On Thu, Jun 26, 2003 at 08:03:33PM +0400, Dmitry Morozovsky wrote:
> On Wed, 25 Jun 2003, Geoffrey T. Falk wrote:
> 
> GTF> I am cleaning up my 4-STABLE system. After a fresh installworld, I am
> GTF> looking at files that did not get touched by the install. Is it safe to
> GTF> remove all such files?
> GTF>
> GTF> In particular, I am looking at /usr/libexec/lib-elf.so.1, which has the
> GTF> schg flag set. I am afraid to remove this for fear of making my system
> GTF> unbootable. Could somebody please reassure me that it is ok to noschg
> GTF> and remove this old file?
> 
> My 4.8-R and 4.8-S systems do not have this file:
> 
> marck at woozle:~> l -o /usr/libexec/lib-elf.so.1
> ls: /usr/libexec/lib-elf.so.1: No such file or directory
> marck at woozle:~> uname -a
> FreeBSD woozle.rinet.ru 4.8-STABLE FreeBSD 4.8-STABLE #4: Wed Apr 16 17:28:12
> MSD 2003     marck at woozle.rinet.ru:/usr/obj/lh/src/sys/woozle  i386
> 
> root at kucha:/var# l -o /usr/libexec/lib-elf.so.1
> ls: /usr/libexec/lib-elf.so.1: No such file or directory
> root at kucha:/var# uname -a
> FreeBSD kucha.rinet.ru 4.8-RELEASE FreeBSD 4.8-RELEASE #2: Tue Apr  1 21:02:29
> MSD 2003     marck at kucha.rinet.ru:/usr/obj/FreeBSD/src.stable-48/sys/kucha
> i386
> 
> So, I suppose this file can be safely removed.

But removing the similarly named 'ld-elf.so.1' would be a serious case
of foot shooting.  That's the run-time link editor, and without it an
program that uses shared libraries will not work.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- 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-stable/attachments/20030626/5f9daca6/attachment.bin


More information about the freebsd-stable mailing list