Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 1999 07:47:23 +0200
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        John Polstra <jdp@polstra.com>, asmodai@wxs.nl, current@FreeBSD.ORG
Subject:   Re: Library question/challenge
Message-ID:  <19990729074723.B47767@daemon.ninth-circle.org>
In-Reply-To: <199907290258.TAA65776@apollo.backplane.com>; from Matthew Dillon on Wed, Jul 28, 1999 at 07:58:19PM -0700
References:  <199907290250.TAA89056@vashon.polstra.com> <199907290258.TAA65776@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* 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 <http://home.wxs.nl/~asmodai>;
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




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