[599] in Zephyr_Bugs
-lresolv and zephyr 2.0 beta (SunOS 4.1.x, at least)
daemon@ATHENA.MIT.EDU (E. Jay Berkenbilt)
Wed Jul 5 14:55:59 1995
Date: Wed, 5 Jul 1995 14:52:45 -0400
From: "E. Jay Berkenbilt" <ejb@ERA.COM>
To: bug-zephyr@MIT.EDU
On SunOS 4.1.x systems, linking with -lresolv causes the system to use
DNS to resolve hosts rather than NIS or /etc/hosts. Zephyr links zhm
with -lresolv if it's found regardless of whether this is the right
thing to do. The result is that suns using NIS for their host tables
will not be able to start zhm with server arguments on the
commandline. I'm not sure what a fix is. I think the default should
be to not link with -lresolv on Solaris 1 (SunOS 4.1.x) platforms.
I'm not sure whether there is a good way to figure this out with
autoconf. In any case, sun sites using DNS will be more likely to
know to relink with -lresolv than suns not running NIS will be to not
link with -lresolv. This is on a 4.1.3_U1 rev B host configured
without hesiod/kerberos and built with gcc.
--
E. Jay Berkenbilt (ejb@ERA.COM) | Member, League for Programming Freedom
Engineering Research Associates | lpf@uunet.uu.net, http://www.lpf.org