home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / programm / 5327 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.2 KB

  1. Xref: sparky comp.unix.programmer:5327 comp.sys.sun.misc:5310
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!manuel.anu.edu.au!coombs!mark
  3. From: mark@coombs.anu.edu.au (Mark)
  4. Newsgroups: comp.unix.programmer,comp.sys.sun.misc
  5. Subject: Installing a shared library without screwing up.
  6. Date: 18 Nov 92 05:01:06 GMT
  7. Organization: Australian National University
  8. Lines: 18
  9. Message-ID: <mark.722062866@coombs>
  10. NNTP-Posting-Host: 150.203.76.2
  11. Keywords: libc.so replacing
  12. Organisation: Wassat?!
  13.  
  14. On SunOS 4.x.x:
  15. I've heard a lot of horror stories about mistakes with libc.so replacing and
  16. how dynamic library loading programs die real quick if you tamper with their
  17. library.
  18.  
  19. What is the right/best way to replace a libc.so with your site customised
  20. version? I dont want to have to go find the installation tape everytime
  21. I attempt it. Do I use 'cp' or 'cat mylib > /usr/lib/libc.so' or what? Im a
  22. bit worried that a context switch will happen halfway through it and bugger
  23. it all up.
  24.  
  25. How would you guys replace it?
  26.  
  27. Any hints welcome.
  28. Mark
  29. mark@coombs.anu.edu.au
  30. mark@gnu.ai.mit.edu
  31. markm@rmit.edu.au
  32.