← Back to team overview

openjdk team mailing list archive

[Bug 375347] Re: [karmic] libaccess-bridge-java in amd64 contains 32bit library

 

** Also affects: openjdk-6 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
[karmic] libaccess-bridge-java in amd64 contains 32bit library
https://bugs.launchpad.net/bugs/375347
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “java-access-bridge” source package in Ubuntu: Fix Released
Status in “openjdk-6” source package in Ubuntu: New

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.



References