This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: RFA: set LD_LIBRARY_PATH
- From: Andrew Haley <aph at redhat dot com>
- To: Thomas Fitzsimmons <fitzsim at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: Mon, 5 Sep 2005 14:05:42 +0100
- Subject: Re: Patch: RFA: set LD_LIBRARY_PATH
- References: <1125623304.29329.53.camel@tortoise.toronto.redhat.com>
Thomas Fitzsimmons writes:
>
> Sun's JRE includes $JAVA_HOME/lib/<arch> in its LD_LIBRARY_PATH so that
> users don't need to specify LD_LIBRARY_PATH manually. This patch makes
> libgcj do the same when the --with-java-home configure option is
> specified.
>
> OK for mainline?
In what circumstances is this necessary? Should not the appropriate
libraries be installed somewhere where LD_LIBRARY_PATH isn't needed?
What if a user specifically sets LD_LIBRARY_PATH in order to _avoid_
$JAVA_HOME/lib/<arch>?
Andrew.