[karmic] libaccess-bridge-java in amd64 contains 32bit library

Bug #375347 reported by Graziano
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
java-access-bridge (Ubuntu)
Fix Released
Undecided
Unassigned
openjdk-6 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Description: Ubuntu karmic (development branch)
Release: 9.10

libaccess-bridge-java:
  Installed: 1.26.0-0ubuntu1
  Candidate: 1.26.0-0ubuntu1
  Version table:
     1.26.0-0ubuntu1 0
        500 http://ubuntu.mirror.garr.it karmic/main Packages
 *** 1.26.0-0ubuntu1 0
        100 /var/lib/dpkg/status

Upgrading libaccess-bridge-java in karmic today leads to the following error message:

Error:java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/ext/libjava-access-bridge-jni.so
java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/ext/libjava-access-bridge-jni.so
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1666)
 at java.lang.Runtime.load0(Runtime.java:787)
 at java.lang.System.load(System.java:1022)
 at org.GNOME.Accessibility.JavaBridge.<init>(JavaBridge.java:352)
[...]

Looking at content of java-access-bridge package (marked as "all", non architecture specific) found this libraries:

/usr/lib/libjava-access-bridge-jni.so.0.0.0
/usr/lib/libjava-access-bridge-jni.a

which are 32 bit on my 64 bit system. Seems that java-access-bridge is architecture specific and cannot be marked as "all".
I had to recompile package for my system in order to avoid link error, and make symlinks of /usr/lib/libjava-access-bridge-jni.so under /usr/lib/jvm/java-6-openjdk/jre/lib/ext.

Needs either a package split or architecture specific package.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package java-access-bridge - 1.26.0-0ubuntu2

---------------
java-access-bridge (1.26.0-0ubuntu2) karmic; urgency=low

  * Split out libaccess-bridge-java-jni. LP: #375347.

 -- Matthias Klose <email address hidden> Tue, 12 May 2009 13:07:11 +0200

Changed in java-access-bridge (Ubuntu):
status: New → Fix Released
Revision history for this message
Volodymyr Buell (vbuell) wrote :

The problem with symlinks are not fixed. UI applications using OpenJdk are still trying to access library /usr/lib/jvm/java-6-openjdk/jre/lib/ext/libjava-access-bridge-jni.so. But there no so symlink here.

Version: libaccess-bridge-java-jni (1.26.0-0ubuntu5)

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/ext/libjava-access-bridge-jni.so
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1666)
 at java.lang.Runtime.load0(Runtime.java:787)
 at java.lang.System.load(System.java:1022)
 at org.GNOME.Accessibility.JavaBridge.<init>(JavaBridge.java:352)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[...]

>> sudo update-alternatives --config java

There are 3 alternatives which provide `java'.

  Selection Alternative
-----------------------------------------------
*+ 1 /usr/lib/jvm/java-6-openjdk/jre/bin/java
          2 /usr/lib/jvm/java-6-sun/jre/bin/java
          3 /usr/bin/gij-4.4

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-6 - 6b16~pre3-0ubuntu1

---------------
openjdk-6 (6b16~pre3-0ubuntu1) karmic; urgency=low

  * Update to hotspot hs14b15.
  * Provide symlink for libjava-access-bridge-jni.so. LP: #375347.

 -- Matthias Klose <email address hidden> Fri, 15 May 2009 00:41:24 +0200

Changed in openjdk-6 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.