Patch: RFA: set LD_LIBRARY_PATH

Andrew Haley aph@redhat.com
Mon Sep 5 13:04:00 GMT 2005


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.



More information about the Java-patches mailing list