[Lunar-commits] <moonbase> sun-jdk: Adjustment for the x86_64 side. The /usr/lib64/libjvm.so was a dead link

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Mar 31 02:13:57 CEST 2010


commit 5cab5a829f352b80e7e5fbd2581cba9552b701fb
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Mar 30 20:13:57 2010 -0400

    sun-jdk: Adjustment for the x86_64 side. The /usr/lib64/libjvm.so was a dead link
    
    and caused soprano to tank on a fix looking for it. This should take care of it.
---
 compilers/sun-jdk/BUILD        |    2 +-
 compilers/sun-jdk/BUILD.x86_64 |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/compilers/sun-jdk/BUILD b/compilers/sun-jdk/BUILD
index d4e84aa..192568b 100644
--- a/compilers/sun-jdk/BUILD
+++ b/compilers/sun-jdk/BUILD
@@ -1,4 +1,5 @@
 (
+
   chmod +x $SOURCE &&
   ./$SOURCE --accept-license --unpack &&
 
@@ -34,7 +35,6 @@
          /opt/lunar/plugins/
   fi &&
 
-
   echo export PATH=\"'${PATH}':/usr/lib/jdk"${FVERSION}"/bin\" >> $SOURCE_DIRECTORY/sun-jdk.rc &&
   echo export JAVA_HOME=\"/usr/lib/jdk"${FVERSION}"/\" >> $SOURCE_DIRECTORY/sun-jdk.rc &&
   install -m644 $SOURCE_DIRECTORY/sun-jdk.rc /etc/profile.d/
diff --git a/compilers/sun-jdk/BUILD.x86_64 b/compilers/sun-jdk/BUILD.x86_64
index 0ef23ed..32da896 100644
--- a/compilers/sun-jdk/BUILD.x86_64
+++ b/compilers/sun-jdk/BUILD.x86_64
@@ -1,4 +1,5 @@
 (
+
   chmod +x $SOURCE &&
   ./$SOURCE --accept-license --unpack &&
 
@@ -13,6 +14,9 @@
   rm  -f /usr/java &&
   ln -sf /usr/lib/jdk${FVERSION} /usr/java &&
 
+# This didn't get created, dead link. Do it this way.
+  ln -sf /usr/lib/jdk${FVERSION}/jre/lib/amd64/server/libjvm.so /usr/lib/libjvm.so &&
+
   # Some applications don't accept anything but /usr/bin
   for file in /usr/lib/jdk${FVERSION}/bin/*; do
       bfile=`basename $file`


More information about the Lunar-commits mailing list