Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 1999 19:50:03 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        asmodai@wxs.nl
Cc:        current@freebsd.org
Subject:   Re: Library question/challenge
Message-ID:  <199907290250.TAA89056@vashon.polstra.com>
In-Reply-To: <19990727230015.B393@daemon.ninth-circle.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <19990727230015.B393@daemon.ninth-circle.org>,
Jeroen Ruigrok/Asmodai  <asmodai@wxs.nl> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907290250.TAA89056>