From owner-freebsd-emulation Sat Dec 11 4:48:18 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from knight.cons.org (knight.cons.org [194.233.237.195]) by hub.freebsd.org (Postfix) with ESMTP id DFAC614FC4; Sat, 11 Dec 1999 04:48:14 -0800 (PST) (envelope-from cracauer@knight.cons.org) Received: (from cracauer@localhost) by knight.cons.org (8.9.3/8.9.3) id NAA06443; Sat, 11 Dec 1999 13:48:07 +0100 (CET) Date: Sat, 11 Dec 1999 13:48:07 +0100 From: Martin Cracauer To: "Jordan K. Hubbard" Cc: Martin Cracauer , freebsd-emulation@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: Linux emulator and ldconfig at startup (in 3.4?) Message-ID: <19991211134806.A6428@cons.org> References: <19991210211600.A1209@cons.org> <81430.944911097@zippy.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <81430.944911097@zippy.cdrom.com>; from Jordan K. Hubbard on Sat, Dec 11, 1999 at 03:18:17AM -0800 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 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