Re: Can I remove lib-elf.so.1?

From: Matthew Seaman (m.seaman_at_infracaninophile.co.uk)
Date: 06/26/03

  • Next message: Erik Trulsson: "Re: Can I remove lib-elf.so.1?"
    Date: Thu, 26 Jun 2003 17:34:10 +0100
    To: Dmitry Morozovsky <marck@rinet.ru>
    
    
    

    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@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:28:12
    > MSD 2003 marck@woozle.rinet.ru:/usr/obj/lh/src/sys/woozle i386
    >
    > 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
    >
    > 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 message: Erik Trulsson: "Re: Can I remove lib-elf.so.1?"