IBM JDK1.6 library conflict on Hardy

Bug #304863 reported by ENT
2
Affects Status Importance Assigned to Milestone
Medibuntu
Fix Released
High
Lionel Le Folgoc
Hardy
Fix Released
High
Lionel Le Folgoc
Intrepid
Fix Released
High
Lionel Le Folgoc
Jaunty
Fix Released
High
Lionel Le Folgoc

Bug Description

Java provided in the ibm-j2sdk1.6 package cannot run due to symbol conflict. This is on an up-to-date Ubuntu Hardy.

Installed libstdc++.so.5 provides the following symbols with newer versions:

gene@dirac:~$ strings /usr/lib/libstdc++.so.5 | grep CXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
CXXABI_1.3
CXXABI_1.3.1
GLIBCXX_LDBL_3.4
GLIBCXX_LDBL_3.4.7
CXXABI_LDBL_1.3
GLIBCXX_FORCE_NEW

Here is the Java error message, looking for a 3.2 instead of 3.4 and 1.2 instead of 1.3 versions:

gene@dirac:~$ /usr/lib/j2sdk1.6-ibm/jre/bin/java -version
JVMJ9VM011W Unable to load j9dmp24: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by /usr/lib/j2sdk1.6-ibm/jre/bin/../lib/ppc/libj9dmp24.so)
JVMJ9VM011W Unable to load j9jit24: /usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by /usr/lib/j2sdk1.6-ibm/jre/bin/../lib/ppc/libj9jit24.so)
JVMJ9VM011W Unable to load j9gc24: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by /usr/lib/j2sdk1.6-ibm/jre/bin/../lib/ppc/libj9gc24.so)
JVMJ9VM011W Unable to load j9vrb24: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by /usr/lib/j2sdk1.6-ibm/jre/bin/../lib/ppc/libj9vrb24.so)
Unhandled exception
Type=Segmentation error vmState=0xffffffff
J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
Handler1=0FA81080 Handler2=0F9BA980
R0=0FABBB64 R1=48852820 R2=4885B950 R3=10029DA8
R4=00000000 R5=10033FBC R6=0049424D R7=FEFEFEFF
R8=7F7F7F7F R9=80808080 R10=0049424D R11=00000019
R12=80808080 R13=10023710 R14=00000000 R15=10028C10
R16=1001EBF8 R17=0000653D R18=6563744D R19=656D6F72
R20=FFFFFFF8 R21=0000001C R22=00000018 R23=0FDE12B0
R24=00000000 R25=0F9F1820 R26=10029DA8 R27=0FDE12B0
R28=10029DA8 R29=10029DA8 R30=0FAF8400 R31=0FB21B1C
NIP=0FABBB74 MSR=0000D032 ORIG_GPR3=00000003 CTR=0FFCFF24
LINK=0FABBB64 XER=00000000 CCR=22002442 MQ=00000000
TRAP=00000300 DAR=000000E4 dsisr=40000000 RESULT=00000000
Module=/usr/lib/j2sdk1.6-ibm/jre/lib/ppc/libj9vm24.so
Module_base_address=0FA63000
Target=2_40_20071121_015015_bHdSMR (Linux 2.6.24-22-powerpc)
CPU=ppc (1 logical CPUs) (0x1f697000 RAM)

Revision history for this message
Ruben Romero (huayra) wrote :

This affects also Intrepid (on PPC) and even the IBM JDK1.5 package as they both depende on the libstdc++5 symbols.

Making a symlink of version 6 to 5 does not help as the dependency seems to be the symbols.

Changed in medibuntu:
status: New → Confirmed
Revision history for this message
Ruben Romero (huayra) wrote :

A workaround for PowerPC:

1. Make a symlink to the library from version 6 to 5
1. Install the debian package (you MUST ujse the -force-all flag for dpkg): http://packages.debian.org/etch/powerpc/libstdc++5/download
2. Run IBM java and see it working
3. use aptitude to solve the dependency problem created by the forced install
4. voila: IT WORKS!

It is just a workaround. It may screw up your system, so please don't do it if you do not understand what it does!

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Dropped from the repository in jaunty (our ibm-java packages were made in an ugly way anyway).

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Not cleanly fixable on our side, so I removed all ibm java packages from hardy and intrepid (anyway, I think that openjdk in hardy passed some sort of Sun certification, so it should be fine).

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.