From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ldg@ulysium.net Newsgroups: gmane.os.tru64.managers Subject: libbind.so unresolved symbols - update Date: Thu, 24 Apr 2003 20:50:02 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1051231780 30167 80.91.224.249 (25 Apr 2003 00:49:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 25 Apr 2003 00:49:40 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Apr 25 02:49:39 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 198rPG-0007qJ-00 for ; Fri, 25 Apr 2003 02:49:39 +0200 Original-Received: (qmail 25943 invoked by uid 5); 25 Apr 2003 00:50:28 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25934 invoked by uid 49493); 25 Apr 2003 00:50:28 -0000 Original-Received: from ldg@ulysium.net by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-2.2/5.0):. Processed in 0.476546 secs); 25 Apr 2003 00:50:28 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 25 Apr 2003 00:50:27 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HDV00J6CJO1B8@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 24 Apr 2003 20:50:27 -0400 (EDT) Original-Received: from matrix.ao.net (mail-gw2.ao.net [205.244.242.28]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTPS id <0HDV00KA3JNQSD@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 24 Apr 2003 20:50:15 -0400 (EDT) Original-Received: from mail.ao.net (mail.ao.net [205.244.242.23]) by matrix.ao.net (8.12.9/8.12.9/Debian-1) with ESMTP id h3P0oECN023816 for ; Thu, 24 Apr 2003 20:50:14 -0400 Original-Received: from [63.79.143.101] (port100.dyn.ao.net [63.79.143.101]) by mail.ao.net (8.12.9/8.12.9/Debian-1) with ESMTP id h3P0oBAP013942 for ; Thu, 24 Apr 2003 20:50:12 -0400 Original-To: Tru64 Unix managers User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 Xref: main.gmane.org gmane.os.tru64.managers:4060 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4060 Hello again, in my earlier post, I described a problem I'm experiencing with a fresh compile of the latest sendmail on tru64 5.1b with bind 9.2.2 I keep getting this error: /usr/sbin/sendmail: /sbin/loader: Fatal Error: call to unresolved symbol from /usr/local/lib/libbind.so (pc=0x30000035364) I have the bind libs in /usr/local/bind/lib and its includes in /usr/local/bind/include and I was adding the extra LD_LIBRARY_PATH to help this to be found in the sendmail startup script in /sbin/init.d I now removed that extra LD_LIBRARY_PATH declaration from the startup script, after trying different things to figure out what symbol is missing without success and I symlinked all that bind stuff into /usr/local/lib and /usr/local/include and I recompiled sendmail again. There is no complaint from the linker during the sendmail compile, which goes all the way and I can then install it and the error is showing up at runtime. Here's something that may help a bit: # sendmail -d0.10 Version 8.12.9 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET NETUNIX NEWDB NIS PIPELINING SCANF TCPWRAPPERS USERDB XDEBUG OS Defines: HASFCHOWN HASFCHMOD HASGETDTABLESIZE HASGETUSERSHELL HASINITGROUPS HASLSTAT HASNICE HASRANDOM HASRRESVPORT HASSETLOGIN HASSETREUID HASSETRLIMIT HASSETSID HASSETVBUF HAS_ST_GEN HASUNAME HASUNSETENV HASWAITPID IDENTPROTO IP_SRCROUTE USE_DOUBLE_FORK USESETEUID Conf file: /etc/mail/submit.cf (default for MSP) Conf file: /etc/mail/sendmail.cf (default for MTA) Pid file: /var/run/sendmail.pid (default) 3430:/usr/sbin/sendmail: /sbin/loader: Fatal Error: call to unresolved symbol from /usr/local/lib/libbind.so (pc=0x30000035364) I have those files from bind 9.2.2 /usr/local/bind/lib # ls libbind.a libdns.a libisc.a libisccc.a libisccfg.a liblwres.a libbind.la libdns.la libisc.la libisccc.la libisccfg.la liblwres.la libbind.so libdns.so libisc.so libisccc.so libisccfg.so liblwres.so libbind.so.1.1.0 libdns.so.8.0.1 libisc.so.6.2.0 libisccc.so.0.0.1 libisccfg.so.0.0.4 liblwres.so.2.1.1 which I symlinked into /usr/local/lib and those folders: /usr/local/bind/include # ls dns dst isc isccc isccfg lwres which I symlinked into /usr/local/include Doing an nm on the libbind.so in question doesn't help, it only lists the symbols but not where they're expected to be coming from. The error from the loader isn't giving anything that can help trace the problem at its source, so what else can I try to get at least the name of the symbol that's causing this error?? I tried using the environment variable _RLD_ARGS="-interact" and tried it with -v and a few other options, but although it gives out a lot of extra info, it's still not giving the info I really need. What can I do? -- Didier Godefroy mailto:dg@ulysium.net