From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Darryl Cook Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: ld problems Date: Mon, 17 Nov 2003 07:44:21 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3FB8C2A5.7070009@cs.appstate.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1069073198 17011 80.91.224.253 (17 Nov 2003 12:46:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2003 12:46:38 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Nov 17 13:46:35 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1ALim3-0004MO-00 for ; Mon, 17 Nov 2003 13:46:35 +0100 Original-Received: (qmail 17489 invoked by uid 5); 17 Nov 2003 12:46:23 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17474 invoked by uid 49493); 17 Nov 2003 12:46:23 -0000 Original-Received: from dlc@cs.appstate.edu by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-5.4/5.0):. Processed in 0.716852 secs); 17 Nov 2003 12:46:23 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 17 Nov 2003 12:46:22 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HOH00M1WY577O@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 17 Nov 2003 07:46:22 -0500 (EST) Original-Received: from mta3.appstate.edu (mta3.appstate.edu [152.10.1.152]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTPS id <0HOH00017Y4Y9X@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 17 Nov 2003 07:46:11 -0500 (EST) Original-Received: from cs.cs.appstate.edu (cs.appstate.edu [152.10.143.13]) by mta3.appstate.edu (8.12.8/8.12.8) with ESMTP id hAHCiDQG011645 for ; Mon, 17 Nov 2003 07:44:15 -0500 Original-Received: from cs.appstate.edu (cookdl-0.cs.appstate.edu [152.10.134.74]) by cs.cs.appstate.edu (8.12.10/8.12.10) with ESMTP id hAHCiDEj053629 for ; Mon, 17 Nov 2003 07:44:13 -0500 (EST) Original-To: Tru64 Mailing List X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-MailScanner-Information: Please contact the Helpdesk @ 6266 for more information X-MailScanner-ASU-mta3: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 7) Xref: main.gmane.org gmane.os.tru64.managers:5824 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5824 Well thanks to Dr. Blinn, we finally got to the bottom of the ld problems. It turns out that the mount command in /sbin and /usr/sbin is different. Somehow the /usr/sbin/mount command had been copied to /sbin either through the patches or through user error. It looks for libraries etc in the /usr filesystems which isnt available at boot time since they arent mounted. After copying back in the right copy from backup, everything is back to normal now. Thanks for all the responses! darryl Original problem: Im running Tru64 5.1b on an Alpha ES40. I was forced to reboot this morning and booted into single user mode to fix some things. As always I ran mount -a -t advfs so as to boot all the local file systems and none of the nfs filesystems. I received an error message from ld complaining that it couldnt find the ldcdrom.so library. Nothing but / was mounted as well. I booted into multiuser mode and everything went fine. I did a man on ld and see that it should be looking in /usr/shlib among a few other directories as the default. The ldcdrom.so file is in /usr/shlib as it should be but apparently ld isnt looking there. Im sure that there is a file that contains the default paths for ld to look in.....can someone point me to that file please so I can verify that it isnt corrupted or hasnt been changed? Is there any way to tell what directories ld is going to look in? ( I know where it is supposed to look but is there a way to verify that it is indeed looking there)? thanks for any info