From owner-freebsd-current Wed Jul 28 22:49:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp04.wxs.nl (smtp04.wxs.nl [195.121.6.59]) by hub.freebsd.org (Postfix) with ESMTP id 50F3415550 for ; Wed, 28 Jul 1999 22:49:21 -0700 (PDT) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.197.11]) by smtp04.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAC910; Thu, 29 Jul 1999 07:48:58 +0200 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id HAA47818; Thu, 29 Jul 1999 07:47:24 +0200 (CEST) (envelope-from asmodai) Date: Thu, 29 Jul 1999 07:47:23 +0200 From: Jeroen Ruigrok/Asmodai To: Matthew Dillon Cc: John Polstra , asmodai@wxs.nl, current@FreeBSD.ORG Subject: Re: Library question/challenge Message-ID: <19990729074723.B47767@daemon.ninth-circle.org> References: <199907290250.TAA89056@vashon.polstra.com> <199907290258.TAA65776@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.3i In-Reply-To: <199907290258.TAA65776@apollo.backplane.com>; from Matthew Dillon on Wed, Jul 28, 1999 at 07:58:19PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Matthew Dillon (dillon@apollo.backplane.com) [990729 07:20]: > lib/libc.so.3: minor version -1 older > :> than expected 0, using it anyway > :> ld.so failed: bad magic number in "/usr/lib/libc.so.3" > :> > :> This is netscape4.5 on CURRENT tracked since October 1998. > :> > :> /var/run/ld.so.hints: > :> search directories: /usr/lib/aout:/usr/lib/compat/aout: > :> /usr/X11R6/lib/aout:/usr/local/lib/aout > :> > :> [ it has about 66 libs in this hints file ] > > This happened to me. The problem is usually that the library it > is looking for is simply missing from /usr/lib/aout or > /usr/X11R6/lib/aout. Another possibility is that there may be > old softlinks laying around /usr/lib or /usr/X11R6/lib for that > library which are pointing to nowhere. I will have to see about the softlinks. Well, it seems to want libc.so.3.1 and that one is present in /usr/lib/aout and is grepable from ldconfig -aout -r: [asmodai@daemon:/usr/home/asmodai] (3) $ ldconfig -aout -r | grep libc.so 27:-lc.3.1 => /usr/lib/aout/libc.so.3.1 > See if you can find where those aout/ compatibility libraries are. > Either you have them properly installed and the ldconfig_paths in > /etc/rc.conf (defaults in /etc/defaults/rc.conf) are wrong, or > you do not have them installed. My aout ldconfig path is the /etc/defaults/rc.conf one, I always sync /etc after a make world using mergemaster most of the time. In /usr/lib/aout there's a libc.so.3.1 but it is dated March the 20th. But given the fact that it ran good until now it should still be good I guess. One person also pointed out in another later post of mine that I forgot -DWANT_AOUT during make world, this might have caused problems. So I am trying a make world with -DWANT_AOUT as well. I am also going to build XFree 3.3.4.x just to be sure it's not that as well. Thanks for the suggestions, -- Jeroen Ruigrok van der Werven asmodai(at)wxs.nl The BSD Programmer's Documentation Project Network/Security Specialist BSD: Technical excellence at its best Cum angelis et pueris, fideles inveniamur. Quis est iste Rex gloriae...? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message