home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22621 < prev    next >
Encoding:
Text File  |  1993-01-04  |  1.4 KB  |  30 lines

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