Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-15 Thread Chuck Robey
Alex Dupre wrote: Chuck Robey wrote: I guess I might be wrong, but I have to say, wrapping everything really does seem to me to be the hack. Call it a wrapper, call it a symlink, but it seems to me that you don't like linux libs in LOCALBASE *and* you don't like executable references in

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-14 Thread Alex Dupre
Alexander Leidinger ha scritto: To achieve this goal we have 2 possibilities, either we install everything into LINUXBASE and install a wrapper in LOCALBASE, or we install everything in a safe location in LOCALBASE. The first part requires that the maintainers of the linux program play some

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-14 Thread Alexander Leidinger
Quoting Alex Dupre [EMAIL PROTECTED] (from Fri, 14 Dec 2007 15:52:15 +0100): Alexander Leidinger ha scritto: To achieve this goal we have 2 possibilities, either we install everything into LINUXBASE and install a wrapper in LOCALBASE, or we install everything in a safe location in

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-14 Thread Chuck Robey
Alex Dupre wrote: Alexander Leidinger ha scritto: To achieve this goal we have 2 possibilities, either we install everything into LINUXBASE and install a wrapper in LOCALBASE, or we install everything in a safe location in LOCALBASE. The first part requires that the maintainers of the linux

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-14 Thread Alex Dupre
Chuck Robey wrote: I guess I might be wrong, but I have to say, wrapping everything really does seem to me to be the hack. Call it a wrapper, call it a symlink, but it seems to me that you don't like linux libs in LOCALBASE *and* you don't like executable references in LOCALBASE (and these are

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-13 Thread Gary Jennejohn
On Wed, 12 Dec 2007 22:33:18 -0500 Chuck Robey [EMAIL PROTECTED] wrote: [lots of discussion snipped] I really wish that ports management would go on the record and make a definite ruling, that all linux images should install to the /compat/linux tree. If this would be the case, then nI

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-13 Thread Alexander Leidinger
Quoting Chuck Robey [EMAIL PROTECTED] (from Wed, 12 Dec 2007 22:33:18 -0500): Alexander Leidinger wrote: Quoting Chuck Robey [EMAIL PROTECTED] (from Mon, 03 Dec 2007 13:30:50 -0500): Alexander Leidinger wrote: Quoting Chuck Robey [EMAIL PROTECTED] (from Sun, 02 Dec 2007 13:23:33

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-12 Thread Chuck Robey
Alexander Leidinger wrote: Quoting Chuck Robey [EMAIL PROTECTED] (from Mon, 03 Dec 2007 13:30:50 -0500): Alexander Leidinger wrote: Quoting Chuck Robey [EMAIL PROTECTED] (from Sun, 02 Dec 2007 13:23:33 -0500): You've gotten some good suggestions, but I might add one more, I don't think

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-05 Thread Alexander Leidinger
Quoting Chuck Robey [EMAIL PROTECTED] (from Mon, 03 Dec 2007 13:30:50 -0500): Alexander Leidinger wrote: Quoting Chuck Robey [EMAIL PROTECTED] (from Sun, 02 Dec 2007 13:23:33 -0500): You've gotten some good suggestions, but I might add one more, I don't think it's been mentioned. I

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-03 Thread Alexander Leidinger
Quoting Chuck Robey [EMAIL PROTECTED] (from Sun, 02 Dec 2007 13:23:33 -0500): You've gotten some good suggestions, but I might add one more, I don't think it's been mentioned. I have foound, myself in the last 2 weeks, some FreeBSD ports putting in Linux tools, installing stuff in the wrong

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-03 Thread Chuck Robey
Alexander Leidinger wrote: Quoting Chuck Robey [EMAIL PROTECTED] (from Sun, 02 Dec 2007 13:23:33 -0500): You've gotten some good suggestions, but I might add one more, I don't think it's been mentioned. I have foound, myself in the last 2 weeks, some FreeBSD ports putting in Linux tools,

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-03 Thread Sean C. Farley
On Sat, 1 Dec 2007, Greg Troxel wrote: I had a Linux shared library problem on NetBSD that I think it might be helpful to mention. thunderbird (and firefox) set LD_LIBRARY_PATH to pick up their own modules. When acroread is invoked to display a pdf attachment, LD_LIBRARY_PATH is still set,

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-02 Thread Alexander Leidinger
Quoting Robert Watson [EMAIL PROTECTED] (Sat, 1 Dec 2007 23:01:46 + (GMT)): 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

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-02 Thread Alexander Leidinger
Quoting Alexander Leidinger [EMAIL PROTECTED] (Sun, 2 Dec 2007 10:07:55 +0100): Quoting Robert Watson [EMAIL PROTECTED] (Sat, 1 Dec 2007 23:01:46 + (GMT)): On Sat, 1 Dec 2007, Alexander Leidinger wrote: Have a look at the search order of libs in linux. Correlate this with the

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-02 Thread Chuck Robey
Yuri wrote: I am trying to run Linux version of Skype and am getting the following error: /usr/home/yuri/skype/current/skype: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI File /usr/lib/librt.so.1 is FreeBSD library and /usr/compat/linux/lib/librt.so.1 is Linux

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-02 Thread Julian Elischer
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

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-01 Thread Greg Troxel
I had a Linux shared library problem on NetBSD that I think it might be helpful to mention. thunderbird (and firefox) set LD_LIBRARY_PATH to pick up their own modules. When acroread is invoked to display a pdf attachment, LD_LIBRARY_PATH is still set, and this causes acroread to read a BSD

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-01 Thread Alexander Leidinger
Quoting Yuri [EMAIL PROTECTED] (Fri, 30 Nov 2007 16:49:03 -0800): This is better suited in emulation@ I am trying to run Linux version of Skype and am getting the following error: /usr/home/yuri/skype/current/skype: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-01 Thread Mike Meyer
On Sat, 01 Dec 2007 11:11:39 -0500 Greg Troxel [EMAIL PROTECTED] wrote: I had a Linux shared library problem on NetBSD that I think it might be helpful to mention. And I have pretty much the exact same bug in OSX. thunderbird (and firefox) set LD_LIBRARY_PATH to pick up their own modules.

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-01 Thread Robert Watson
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

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-01 Thread Nikos Ntarmos
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Dec 01, 2007 at 11:01:46PM +, 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.

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-01 Thread Daniel O'Connor
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

Linux executable picks up FreeBSD library over linux one and breaks

2007-11-30 Thread Yuri
I am trying to run Linux version of Skype and am getting the following error: /usr/home/yuri/skype/current/skype: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI File /usr/lib/librt.so.1 is FreeBSD library and /usr/compat/linux/lib/librt.so.1 is Linux library with the