Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 1999 13:48:07 +0100
From:      Martin Cracauer <cracauer@cons.org>
To:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        Martin Cracauer <cracauer@cons.org>, freebsd-emulation@FreeBSD.ORG, jkh@FreeBSD.ORG
Subject:   Re: Linux emulator and ldconfig at startup (in 3.4?)
Message-ID:  <19991211134806.A6428@cons.org>
In-Reply-To: <81430.944911097@zippy.cdrom.com>; from Jordan K. Hubbard on Sat, Dec 11, 1999 at 03:18:17AM -0800
References:  <19991210211600.A1209@cons.org> <81430.944911097@zippy.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In <81430.944911097@zippy.cdrom.com>, Jordan K. Hubbard wrote: 
> > Package with Linux shared libs run /compat/linux/sbin/ldconfig at
> > package installation time. If this is the initial system installation,
> > the Linux emulator is not active, hence this fails.
> 
> Ah, thanks for solving that mystery before I even had a chance to look
> into it; saved me some work. :)
> 
> > If noone objects, I will add a run of ldconfig to our linux(8) script.
> 
> Forgive me, but I'm not quite seeing how this addresses the problem
> related in paragraph one?

Package foo installs Linux shared lib libbar.so while Linux emulator
is not loaded. ldconfig will fail. This is harmless for now, since
Linux binaries cannot be executed anyway.

After reboot of a configured system - this time starting the Linux
emulator - the Linux ld.so will still have its old cache, not knowing
about libbar.so.

I'd like to run
  /compat/linux/sbin/ldconfig /usr/lib /lib /usr/local/lib /usr/X11R6/lib 
from the linux(8) script just as FreeBSD's ldconfig is run from
/etc/rc.

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/
  Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




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