Article 182 of comp.protocols.dns.bind:
X-Received: from relay3.UU.NET (relay3.UU.NET [192.48.96.8])
	by gw.home.vix.com (8.8.3/) with ESMTP id RAA24619
	for <bind-users@vix.com>; Wed, 27 Nov 1996 17:33:12 -0800 (PST)
X-Received: from individual-bh.individual.com by relay3.UU.NET with SMTP 
	(peer crosschecked as: individual-bh.individual.com [206.35.15.68])
	id QQbrsg03392; Wed, 27 Nov 1996 20:33:05 -0500 (EST)
X-Received: (from uucp@localhost) by individual-bh.individual.com (8.6.12/8.6.11) id UAA08039 for <bind@uunet.uu.net>; Wed, 27 Nov 1996 20:33:15 -0500
X-Received: from kernighan.individual.com by individual-bh.individual.com via smap (V1.3)
	id sma008033; Wed Nov 27 20:33:05 1996
X-Received: (from bheiser@localhost) by kernighan.individual.com (8.7.3/8.7.3) id UAA09942; Wed, 27 Nov 1996 20:32:52 -0500 (EST)
From: Bill Heiser <bheiser@individual.com>
Message-ID: <199611280132.UAA09942@kernighan.individual.com>
Subject: 4.9.5 resolver in Solaris 2.5.1
X-To: bind@uunet.uu.net
Date: Wed, 27 Nov 1996 20:32:52 -0500 (EST)
X-Organization: Individual, Inc., Engineering Dept, Issue Production
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text
Sender: <bind-users-request@vix.com>
Precedence: bulk
Path: matra.meer.net!news.spies.com!news.sgi.com!howland.erols.net!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.idt.net!mr.net!data.ramona.vix.com!vixie!nobody
Organization: none
Newsgroups: comp.protocols.dns.bind
Approved: usenet@vix.com
Lines: 101


To install BIND 4.9.5-REL including the 4.9.5 resolver
libraries on a Solaris 2.5.1 box, I have followed the
installation procedure defined in the shres/solaris
directory (I know, famous last words :-).

Step 8 of the procedure says to modify nss_dns.so.1 so it
points to libresolv.so.2 rather than the default libresolv.so.1.
After doing this, when I try to do anything that results in
a dns lookup (i.e. "telnet", "ftp"), I see the following error:

ld.so.1: telnet: fatal: relocation error: symbol not found: res_init: referenced
 in /usr/lib/nss_dns.so.1
Killed

Following the debug procedure in the installation file, I
come up with the following:

Is there a problem using this with Solaris 2.5.1?  Have
I overlooked some blatant step in the instructions? :\
Sorry if this is a FAQ (but I haven't seen it on the bind-users
list)

Thanks in advance.
-Bill

p.s. I verified that I didn't much the library when I 
edited it with emacs -- I re-edited it and changed the
reference back to the .1 version of libresolv.so, and
the problem went away).



# LD_DEBUG=libs telnet x.x.x
01892: 
01892: find library=libsocket.so.1; searching
01892:  search path=/usr/lib  (LD_LIBRARY_PATH)
01892:  trying path=/usr/lib/libsocket.so.1
01892: 
01892: find library=libnsl.so.1; searching
01892:  search path=/usr/lib  (LD_LIBRARY_PATH)
01892:  trying path=/usr/lib/libnsl.so.1
01892: 
01892: find library=libc.so.1; searching
01892:  search path=/usr/lib  (LD_LIBRARY_PATH)
01892:  trying path=/usr/lib/libc.so.1
01892: 
01892: find library=libdl.so.1; searching
01892:  search path=/usr/lib  (LD_LIBRARY_PATH)
01892:  trying path=/usr/lib/libdl.so.1
01892: 
01892: find library=libintl.so.1; searching
01892:  search path=/usr/lib  (LD_LIBRARY_PATH)
01892:  trying path=/usr/lib/libintl.so.1
01892: 
01892: find library=libmp.so.1; searching
01892:  search path=/usr/lib  (LD_LIBRARY_PATH)
01892:  trying path=/usr/lib/libmp.so.1
01892: 
01892: find library=libw.so.1; searching
01892:  search path=/usr/lib  (LD_LIBRARY_PATH)
01892:  trying path=/usr/lib/libw.so.1
01892: 
01892: calling init: /usr/lib/libw.so.1
01892: 
01892: 
01892: calling init: /usr/lib/libmp.so.1
01892: 
01892: 
01892: calling init: /usr/lib/libintl.so.1
01892: 
01892: 
01892: calling init: /usr/lib/libc.so.1
01892: 
01892: 
01892: calling init: /usr/lib/libnsl.so.1
01892: 
01892: 
01892: calling init: /usr/lib/libsocket.so.1
01892: 
01892: 
01892: transferring control: telnet
01892: 
01892: 
01892: find library=nss_dns.so.1; searching
01892:  search path=/usr/lib  (LD_LIBRARY_PATH)
01892: calling init: /usr/lib/nss_dns.so.1
01892:
01892:
01892: ld.so.1: telnet: fatal: relocation error: symbol not found: res_init: ref
erenced in /usr/lib/nss_dns.so.1
01892:
ld.so.1: telnet: fatal: relocation error: symbol not found: res_init: referenced
 in /usr/lib/nss_dns.so.1
Killed


-- 
Bill Heiser            Individual, Inc., Engineering Dept.
mailto:bill@bh.org     mailto:bheiser@individual.com
http://www.bh.org      http://www.individual.com


