Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Dec 2007 15:45:12 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        emulation@freebsd.org, Alexander Leidinger <Alexander@Leidinger.net>, Yuri <yuri@rawbw.com>, freebsd-hackers@freebsd.org
Subject:   Re: Linux executable picks up FreeBSD library over linux one and breaks
Message-ID:  <47534388.4030608@elischer.org>
In-Reply-To: <20071201230022.R74097@fledge.watson.org>
References:  <1196470143.4750af7f6accf@webmail.rawbw.com>	<20071201162930.5c9fd4dd@deskjail> <20071201230022.R74097@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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"




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