From owner-freebsd-current Wed Jul 28 19:51: 8 1999 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 45832154A7 for ; Wed, 28 Jul 1999 19:51:05 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id TAA13119; Wed, 28 Jul 1999 19:50:03 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id TAA89056; Wed, 28 Jul 1999 19:50:03 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Wed, 28 Jul 1999 19:50:03 -0700 (PDT) Message-Id: <199907290250.TAA89056@vashon.polstra.com> To: asmodai@wxs.nl Subject: Re: Library question/challenge In-Reply-To: <19990727230015.B393@daemon.ninth-circle.org> Organization: Polstra & Co., Seattle, WA Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <19990727230015.B393@daemon.ninth-circle.org>, Jeroen Ruigrok/Asmodai wrote: > > /usr/libexec/ld.so: warning: /usr/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. > > One change since my previous builds is that I uncommented compat22 and > compat3x prior to making world. > > I have the default aout ld path in /etc/defaults/rc.conf, none in > /etc/rc.conf. > > A ldconfig -aout -r | head -2 yields: > > /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 ] Run ldd on the netscape binary and figure out why it's finding the wrong libc. Make sure you don't have LD_LIBRARY_PATH set to include "/usr/lib". John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "No matter how cynical I get, I just can't keep up." -- Nora Ephron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message