From owner-freebsd-emulation Sat Dec 11 5:27:47 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 9D88414E65 for ; Sat, 11 Dec 1999 05:27:43 -0800 (PST) (envelope-from freebsd-emulation@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id OAA70806 for emulation@FreeBSD.org; Sat, 11 Dec 1999 14:27:35 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for emulation@FreeBSD.org (emulation@FreeBSD.org) To: emulation@FreeBSD.org Date: Sat, 11 Dec 1999 14:27:31 +0100 From: Marcel Moolenaar Message-ID: <38525143.6B58584@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <19991210211600.A1209@cons.org>, <19991211134806.A6428@cons.org> Subject: Re: Linux emulator and ldconfig at startup (in 3.4?) Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Martin Cracauer wrote: > > > > 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. What if other Linux binaries are executed as part of package install? These also fail because the Linuxulator is not loaded. The result is an incomplete installation, just as for the ldconfig case. > 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. First of all, don't specify any paths. Any non-standard directories (which are /lib and /usr/lib) should be added to /compat/linux/etc/ld.so.conf. Secondly, I don't really like this but can't see a better way at the moment to handle this. I'll remain indifferent... -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message