From owner-freebsd-emulation@FreeBSD.ORG Sun Dec 2 23:56:40 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A02C16A417 for ; Sun, 2 Dec 2007 23:56:40 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outZ.internet-mail-service.net (outZ.internet-mail-service.net [216.240.47.249]) by mx1.freebsd.org (Postfix) with ESMTP id 3412713C448 for ; Sun, 2 Dec 2007 23:56:40 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Sun, 02 Dec 2007 15:45:11 -0800 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 00B43126B7B; Sun, 2 Dec 2007 15:45:10 -0800 (PST) Message-ID: <47534388.4030608@elischer.org> Date: Sun, 02 Dec 2007 15:45:12 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Robert Watson References: <1196470143.4750af7f6accf@webmail.rawbw.com> <20071201162930.5c9fd4dd@deskjail> <20071201230022.R74097@fledge.watson.org> In-Reply-To: <20071201230022.R74097@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: emulation@freebsd.org, Alexander Leidinger , Yuri , freebsd-hackers@freebsd.org Subject: Re: Linux executable picks up FreeBSD library over linux one and breaks X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2007 23:56:40 -0000 Robert Watson wrote: > > On Sat, 1 Dec 2007, Alexander Leidinger wrote: > >> Have a look at the search order of libs in linux. Correlate this with >> the fact that when in linux an access is done to e.g. /lib/libX.so.y >> which means that the linuxulator first looks if >> /compat/linux/lib/libX.so.y is there, and if it isn't it looks if >> /lib/libX.so.y is available. >> >> AFAIR a work around is to add a link in >> /compat/linux/usr/lib/librt.so.1 -> /lib/librt.so.1 >> >> I want to do something like this in the FC4 port, but hadn't time to >> do it and test it so far. > > It sounds like the real problem is that there are some cases where we > don't want the Linuxulator to merge the underlying and Linux views of > the file system -- we don't want the union of /compat/linux/lib and > /lib, we just want /compat/linux/lib? > chroot /compat/linux. > Robert N M Watson > Computer Laboratory > University of Cambridge > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"