United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6367072 Hotspot should not depend on LD_LIBRARY_PATH
6367072 : Hotspot should not depend on LD_LIBRARY_PATH

Details
Type:
Bug
Submit Date:
2005-12-23
Status:
Closed
Updated Date:
2010-05-12
Project Name:
JDK
Resolved Date:
2009-12-01
Component:
hotspot
OS:
solaris_8,linux,generic
Sub-Component:
runtime
CPU:
sparc,generic
Priority:
P3
Resolution:
Duplicate
Affected Versions:
1.3.1,5.0,6
Fixed Versions:
7

Related Reports
Duplicate:
Relates:

Sub Tasks

Description
Remove dependency on LD_LIBRARY_PATH for Linux as runpath information is in the shared libraries now and this can be used like it's done for Solaris. This is a dependency for a launcher improvement to eliminate it's setup of LD_LIBRARY_PATH. See the notes in 4777947 for history and additional details.

                                    

Comments
EVALUATION

This issue is fixed via 6367077, closing this as a duplicate.
                                     
2009-12-01
EVALUATION

The getenv(3C) was eliminated in the VM for 6312057 on Solaris to set the 
java.library.path property, this was done by using dlinfo(3C), however on 
linux there is no visible support for dlinfo. There are references on the web 
that it has been introduced since taroon/severn/rawhide release, still no man page for this, however a nm on ld.so does yield a dlinfo function.

This can be implemented only when the minimum Java supported config for Linux 
supports the dlinfo(3C) function, unless we take back door approaches to query 
the dynamic linker(ld.so) for LD_LIBRARY_PATH, which is a very risky alternative.
                                     
2006-05-04



Hardware and Software, Engineered to Work Together