Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2001 10:22:49 -0500
From:      Glenn Johnson <gjohnson@srrc.ars.usda.gov>
To:        freebsd-emulation@freebsd.org
Subject:   LD_PRELOAD and linux binaries
Message-ID:  <20010907102249.C37844@node7.cluster.srrc.usda.gov>

next in thread | raw e-mail | index | archive | help
I have been playing around with gdkxft and so have the LD_PRELOAD
environment variable set to point to the gdkxft library.  The problem is
with Linux programs which obviously can not link the FreeBSD library.
The LD_PRELOAD environment variable needs to be unset to run these.  For
those Linux programs that use a wrapper script, such as netscape it
is easy enough to just unset the variable in the wrapper script.  The
problem is with Linux programs that do not use a wrapper script.  I know
the wrapper scripts are trivial to write but it does not seem practical
to write a wrapper for every such program.

Does any one have an idea about what the cleanest way to handle this
would be?  Is it possible to have the linuxulator ignore attempts to
link FreeBSD libraries?

Thanks.

-- 
Glenn Johnson
USDA, ARS, SRRC			 Phone: (504) 286-4252
New Orleans, LA 70124		e-mail: gjohnson@srrc.ars.usda.gov

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




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