From owner-freebsd-emulation Thu Oct 16 00:43:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA12668 for emulation-outgoing; Thu, 16 Oct 1997 00:43:53 -0700 (PDT) (envelope-from owner-freebsd-emulation) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA12663 for ; Thu, 16 Oct 1997 00:43:48 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by Campino.Informatik.RWTH-Aachen.DE (8.8.7/RBI-Z13) with ESMTP id JAA00558; Thu, 16 Oct 1997 09:44:13 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.8.5/8.6.9) id JAA15881; Thu, 16 Oct 1997 09:53:38 +0200 (MEST) Message-ID: <19971016095337.09114@gil.physik.rwth-aachen.de> Date: Thu, 16 Oct 1997 09:53:37 +0200 From: Christoph Kukulies To: Mike Smith Cc: Christoph Kukulies , freebsd-emulation@FreeBSD.ORG Subject: Re: some observations with xmaple (Maple V4 R5, Linux version) References: <19971016091843.09142@gil.physik.rwth-aachen.de> <199710160712.QAA01782@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <199710160712.QAA01782@word.smith.net.au>; from Mike Smith on Thu, Oct 16, 1997 at 04:42:40PM +0930 Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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