home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!blaze.cs.jhu.edu!gauss!bogstad
- From: bogstad@gauss.cs.jhu.edu (Bill Bogstad)
- Subject: Re: Old Libc, can it be tossed?
- Message-ID: <1993Jan4.080949.24557@blaze.cs.jhu.edu>
- Sender: news@blaze.cs.jhu.edu (Usenet news system)
- Organization: Johns Hopkins Computer Science Department, Baltimore, MD
- References: <1993Jan3.131543.17102@camaro.uucp> <1993Jan4.044646.12958@ods.com>
- Date: Mon, 4 Jan 1993 08:09:49 GMT
- Lines: 18
-
- In article <1993Jan4.044646.12958@ods.com> david@ods.com (David Engel) writes:
- >Tim Foley (tfoley@camaro.uucp) wrote:
- >
- >: Can the older libc.so.4.0 & libc.so.4.1 be deleted if you have libc.so.4.2?
- >: Also, do I have to link libc.so.4.2 to libc.so.4.1 & 4.0 if I do?
- >
- >Yes, after you have installed libc.so.4.2 and changed the libc.so.4
- >symlink to point to it, you can delete the old versions.
-
- When (if) you do this, be careful to do the symlink replacement
- atomically using "ln -sf". If you remove the target file first, you will
- suddenly discover that your binaries linked to the shared library stop
- working. I found this out the hard way. Fortunately, I had a copy of the
- MTOOLS distribution linked against the libc.so.2 library and was able to use
- mcopy to make a copy of libc.so.4.2 with the correct name. Otherwise, it
- would have been time to dig out the old boot floppies...
-
- Bill Bogstad
-