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