Subject: Re: LD_PRELOAD and firefox-bin-linux
To: Rhialto <firstname.lastname@example.org>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n?= C. <email@example.com>
Date: 07/07/2005 23:20:59
On Thu, 7 Jul 2005 21:30:30 +0200
Rhialto <firstname.lastname@example.org> 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/libaudiooss.so"
> 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 libaudio.so and
libdl.so. 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 'Rhialto' Seibert -- rhialto/at/falu.nl
> \X/ Hi! I'm a signature virus! Copy me to your .signature to help me spread!