SUMMARY: Problems with Standalone DNS

From: Mike Jewison (mjewison@nereid.sal.ists.ca)
Date: Thu Jan 06 1994 - 14:25:48 CST


Yesterday, I wrote:

> Greetings.
>
> I have recently set up three systems to run DNS without NIS by using the
> information provided in Answer #7 of the FAQ. Two of the machines are
> Suns (Sparc 1+ and IPX) and the third is a Sidus Cheetah, all running SunOS
> 4.1.3.
>
> Although DNS now works properly, other things are broken. For example, I
> tried to compile xdvi on the Sidus subsequent to the DNS installation and
> received the following error message during linking:
>
> cc -o xdvi xdvi.o dvi_init.o dvi_draw.o fontfmts.o vf.o util.o font_open.o
> tpic.o -O -pipe -L/usr/local/X11R5/lib -lXaw -lXmu -lXt -lXext -lX11 -lm
> ld: Undefined symbol
> _dlopen
> _dlclose
> _dlsym
> *** Error code 2
> make: Fatal error: Command failed for target `xdvi'
>
>
> If I remove the newly created shared library and rerun ldconfig I can
> properly link xdvi but of course DNS no longer works. I checked this on
> the two Sun workstations and discovered all three machines are suffering
> from the same problem.
>
> I had thought I followed the instructions in the bindon41.shar distribution
> to the letter so either (a) I missed something, or (b) there's a problem
> with either binon41 or bind 4.8.3.
>

The speed with which the replies poured in amazes me yet again. It would
seem I was the only person in the Sun world who was unaware of the
solution, so eloquently put here by Casper Dik:

-------
There is a problem: the /usr/lib/shlib.etc/Makefile is broken:
change the two occurences of:

        ld -assert pure-text `${OBJSORT} lorder-sparc tmp`

to:

        ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
-------

I should have added another option to the above list: (c) Sun screwed up
the Makefile.

I suppose it should have occurred to me to include the -ldl (I always tell
users to *carefully* read the error message for any clues to the problem) and
I might have though of it if I weren't having printer, modem, TeX, and disk
problems at the same time. :-(

My thanks to all who replied and to those whose reponses are enroute:

jaa101@deakin.anu.edu.au (James Ashton)
Cameron Humphries <cameron@chook.cs.adelaide.edu.au>
davec@cs.ust.hk (Dave Curado)
syd@dsinc.myxa.com (Syd Weinstein)
Brian Utterback <blu@mc.com>
Dr Markus Buchhorn <Markus.Buchhorn@arp.anu.edu.au>
Mark Prior <mrp@itd.adelaide.edu.au>
dbrown@lizzard.med.utah.edu (David B. Brown)
pag@scg.boulder.co.us (Peter Gross)
jason andrade <jason@pest.ctpm.uq.oz.au>
birger@sdvest.vest.sdata.no (Birger A. Wathne)
peter@jrc.nl (Peter Watkins)
Piete Brooks <Piete.Brooks@cl.cam.ac.uk>
Casper Dik <casper@fwi.uva.nl>
Stephan Deutsch <Stephan.Deutsch@Germany.EU.net>

-- 
- Mike Jewison, Systems Manager
  Space Astrophysics Laboratory
  Institute for Space and Terrestrial Science
  4850 Keele St., 2nd Floor
  North York, Ontario
  CANADA   M3J 3K1

Internet: mjewison@nereid.sal.ists.ca Phone: (416) 665-5451 FAX: (416) 665-5497



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:53 CDT