Subject: Re: LD_PRELOAD and firefox-bin-linux
To: Rhialto <>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n?= C. <>
List: tech-pkg
Date: 07/07/2005 23:20:59
On Thu, 7 Jul 2005 21:30:30 +0200
Rhialto <> wrote:

> On Wed 06 Jul 2005 at 17:43:24 -0400, César Catrián C. wrote:
> > Which is the right way to go?
> Supposing the linux firefox script is the same as on NetBSD, you should
> put the LD_PRELOAD setting in there, just before the line similar to
> exec /usr/pkg/lib/firefox/firefox-bin "$@"

Same result, Cannot open "/usr/lib/audiooss/"
> If you put it anywhere earlier, all other binaries that are used, such
> as sh in your example, will also be influenced. Furtermore, since we're
> talking Linux binaries, you should most likely specify the path relative
> to the Linux emulation root: without /emul/linux.

By specifying /emul/linux with that, the library is found, but /emul/linux/usr/X11R6/lib 
and /emul/linux/lib need to be specified as well in order to find and But the operation leads to a segmentation fault.

> (note that I can't try this right now so you'll have to do that)
> > César Catrián C.
> -Olaf.
> -- 
> ___ Olaf 'Rhialto' Seibert                            --  rhialto/at/
> \X/ Hi! I'm a signature virus! Copy me to your .signature to help me spread!