Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2003 17:34:10 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Can I remove lib-elf.so.1?
Message-ID:  <20030626163410.GC22666@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20030626200206.I80636@woozle.rinet.ru>
References:  <200306260552.h5Q5quhJ040169@h68-144-29-132.cg.shawcable.net> <20030626200206.I80636@woozle.rinet.ru>

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

--RIYY1s2vRbPFwWeW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 26, 2003 at 08:03:33PM +0400, Dmitry Morozovsky wrote:
> On Wed, 25 Jun 2003, Geoffrey T. Falk wrote:
>=20
> 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 syst=
em
> GTF> unbootable. Could somebody please reassure me that it is ok to noschg
> GTF> and remove this old file?
>=20
> My 4.8-R and 4.8-S systems do not have this file:
>=20
> marck@woozle:~> l -o /usr/libexec/lib-elf.so.1
> ls: /usr/libexec/lib-elf.so.1: No such file or directory
> marck@woozle:~> uname -a
> FreeBSD woozle.rinet.ru 4.8-STABLE FreeBSD 4.8-STABLE #4: Wed Apr 16 17:2=
8:12
> MSD 2003     marck@woozle.rinet.ru:/usr/obj/lh/src/sys/woozle  i386
>=20
> root@kucha:/var# l -o /usr/libexec/lib-elf.so.1
> ls: /usr/libexec/lib-elf.so.1: No such file or directory
> root@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@kucha.rinet.ru:/usr/obj/FreeBSD/src.stable-48/sys/kucha
> i386
>=20
> 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

--=20
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

--RIYY1s2vRbPFwWeW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE++yCCdtESqEQa7a0RAn0RAJsGgC7ZBStFZkBXbwvAcPRQFE1RXwCgkKKy
D7nzPOPgXUHsMJ5o/6uZ45c=
=LbG+
-----END PGP SIGNATURE-----

--RIYY1s2vRbPFwWeW--



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