home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sun / admin / 5627 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.4 KB  |  39 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!caen!sol.ctr.columbia.edu!eff!ckd
  3. From: ckd@eff.org (Christopher Davis)
  4. Subject: Re: Shared C lib with resolver routines => 'cc -ldl' ????
  5. In-Reply-To: pjinkila@thunder.LakeheadU.Ca's message of 18 Aug 1992 17:25:47 GMT
  6. Message-ID: <CKD.92Aug18163359@loiosh.eff.org>
  7. Sender: usenet@eff.org (NNTP News Poster)
  8. Nntp-Posting-Host: loiosh.eff.org
  9. Organization: Electronic Frontier Foundation Tech Central
  10. References: <404@thunder.LakeheadU.Ca>
  11. Date: Tue, 18 Aug 1992 20:34:01 GMT
  12. Lines: 25
  13.  
  14. Paul> == Paul Inkila <pjinkila@thunder.LakeheadU.Ca> 
  15.  
  16.  Paul> I used how-to-fix-sun-dns.sh from nexus.yorku.ca to build a
  17.  Paul> shared C lib with the DNS resolver routines.  I'm running 4.1.2
  18.  Paul> on a Sparc.
  19.  
  20.  Paul> After installation, network utilities work fine with domain names.
  21.  Paul> However, I now need to link in the dynamic linker lib
  22.  Paul> whenever doing C linking. i.e. I need to link using 'cc -ldl'.
  23.  
  24. This is a known bug in /usr/lib/shlib.etc/Makefile under 4.1.2.
  25.  
  26. To fix, change both lines reading:
  27.  
  28.     ld -assert pure-text `${OBJSORT} lorder-sparc tmp`
  29.  
  30. to read
  31.  
  32.     ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
  33.  
  34. and rebuild your shared /usr/lib/libc and /usr/5lib/libc (if necessary).
  35. --
  36. Christopher Davis * ckd@eff.org * System Administrator, EFF * +1 617 864 0665
  37.             ``Ed Gruberman, you fail to grasp Ti Kwan Leep.
  38.             Approach me that you might see.'' -- The Master
  39.