Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100124 - sun-jdk-1.4.2.08 and 1.4.2.08-r1 do not set the LDPATH correctly
Summary: sun-jdk-1.4.2.08 and 1.4.2.08-r1 do not set the LDPATH correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-24 08:45 UTC by Gergan Penkov
Modified: 2005-07-26 08:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gergan Penkov 2005-07-24 08:45:58 UTC
The two ebuilds are setting the LDPATH incorrectly with the line
ADDLDPATH="/opt/sun-jdk-1.4.2.08/jre/lib"
in /etc/env.d/java/20sun-jdk-1.4.2.08 and correspondingly in /etc/env.d/20java
There are no dynamic-linking libraries in this directory.
The blackdown-jdk-s are setting this correctly to
ADDLDPATH="${JAVA_HOME}/jre/lib/i386/:${JAVA_HOME}/jre/lib/i386/native_threads/:${JAVA_HOME}/jre/lib/i386/classic/:${JAVA_HOME}/jre/lib/i386/server/"
Probably just copying and renaming the files from blackdown-j{dk|re}/files to
sun-j{dk|re}/file will resolve the issue or simply copying the corresponding lines.
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2005-07-26 08:15:10 UTC
thanks, fixed in cvs