Date: Sun, 2 Dec 2007 15:15:02 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-hackers@freebsd.org Cc: Nikos Ntarmos <ntarmos@ceid.upatras.gr> Subject: Re: Linux executable picks up FreeBSD library over linux one and breaks Message-ID: <200712021515.03884.doconnor@gsoft.com.au> In-Reply-To: <20071202013010.GA6198@ace.netcins.ceid.upatras.gr> References: <1196470143.4750af7f6accf@webmail.rawbw.com> <20071201230022.R74097@fledge.watson.org> <20071202013010.GA6198@ace.netcins.ceid.upatras.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart8672414.XfB2oCkLW8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sun, 2 Dec 2007, Nikos Ntarmos wrote: > libraries under /compat/linux so that they match the FreeBSD > hierarchy (and teach ld-linux to use the same search path as the > native loader). And yet another solution is to teach the linuxolator > to first do an exhaustive search for libraries under /compat/linux > and only then fall back to native ones (this seems similar to the > above LD_LIBRARY_PATH incantation). The problem is that the dynamic linker is only opening files based on=20 the search path & cache - it doesn't know it isn't on a real linux box. I think the only way to 'fix' it would be to kludge the linuxulator to=20 treat ld.so specially but that would be pretty gross :( It IS a pain tho! :) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart8672414.XfB2oCkLW8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHUjhP5ZPcIHs/zowRAoPdAJ0YMLLmTP1WinI3JcGmItTM6kB76gCeLQEd Zhh23Xbo5THo05GbjAdnRjs= =UVyC -----END PGP SIGNATURE----- --nextPart8672414.XfB2oCkLW8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712021515.03884.doconnor>