Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 1997 09:53:37 +0200
From:      Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
To:        Mike Smith <mike@smith.net.au>
Cc:        Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>, freebsd-emulation@FreeBSD.ORG
Subject:   Re: some observations with xmaple (Maple V4 R5, Linux version)
Message-ID:  <19971016095337.09114@gil.physik.rwth-aachen.de>
In-Reply-To: <199710160712.QAA01782@word.smith.net.au>; from Mike Smith on Thu, Oct 16, 1997 at 04:42:40PM %2B0930
References:  <19971016091843.09142@gil.physik.rwth-aachen.de> <199710160712.QAA01782@word.smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 16, 1997 at 04:42:40PM +0930, Mike Smith wrote:
> > > libc.so.5 is a link as well; what's the real version number of the 
> > > library?
> > 
> > It was a link to /compat/linux/lib/libc.so.5 -> libc.so.5.4.23
> > I changed it to
> >  /compat/linux/lib/libc.so.5 -> libc.so.5.3.12
> > 
> > to no avail.
> > 
> > Or do I have to do some linux_ldconfig -m?
> > Can one use a linux_ldd?
> 
> You will need to say '/compat/linux/sbin/ldconfig' to update the hints 
> file after changing the library link.

Strange. When I do a ln -s libc.so.5.3.12 libc.so.5 manually in /compat/
linux/lib the link is OK.

Doing a /compat/linux/sbin/ldconfig afterwards the link changes back
to libc.so.5.4.23.

Renaming libc.so.5.4.23 to libc.so.5.4.23.foo and doing the ldconfig gives:

leibniz# mv libc.so.5.4.23 libc.so.5.4.23.foo
leibniz# ln -sf libc.so.5.3.12 libc.so.5
leibniz# /compat/linux/sbin/ldconfig
/compat/linux/sbin/ldconfig: warning: can't lstat /usr/lib/libc.so (No such file or directory), skipping
leibniz# ls -l libc.so.5.3.12
-rwxr-xr-x  1 root  wheel  705995 Oct 25  1996 libc.so.5.3.12
leibniz# ls -l libc*
lrwxrwxrwx  1 root  wheel       14 Sep 13 18:45 libc.so.4 -> libc.so.4.5.26
-rwxr-xr-x  1 root  bin     623620 Nov  9  1994 libc.so.4.5.26
lrwxrwxrwx  1 root  wheel       18 Oct 16 09:34 libc.so.5 -> libc.so.5.4.23.foo
-rwxr-xr-x  1 root  bin     562683 May 19  1995 libc.so.5.0.9
-rwxr-xr-x  1 root  wheel   705995 Oct 25  1996 libc.so.5.3.12
-rwxr-xr-x  1 root  wheel  1861963 Apr 10  1997 libc.so.5.4.23.foo

Stumped

> 
> mike
> 

-- 
--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



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