why java-1.7.0-oracle-plugin requires GLIBCXX_3.4.9?
Environment
- Red Hat Enterprise Linux 5
- java-1.7.0-oracle-plugin-1.7.0.65-1jpp.2.el5_10
Issue
java-1.7.0-oracle-plugin-1.7.0.65-1jpp.2.el5_10requiresGLIBCXX_3.4.9butlibstdc++only providesGLIBCXX_3.4.8
$ ldd /usr/lib/jvm/jre-1.7.0-oracle.x86_64/lib/amd64/libnpjp2.so
/usr/lib/jvm/jre-1.7.0-oracle.x86_64/lib/amd64/libnpjp2.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/jvm/jre-1.7.0-oracle.x86_64/lib/amd64/libnpjp2.so)
linux-vdso.so.1 => (0x00007fff89ffd000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002b8b4a825000)
libc.so.6 => /lib64/libc.so.6 (0x00002b8b4ab25000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b8b4ae7f000)
libm.so.6 => /lib64/libm.so.6 (0x00002b8b4b08d000)
/lib64/ld-linux-x86-64.so.2 (0x000000335d000000)
Resolution
- Update to following packages should fix the issue.
java-1.7.0-oracle-1.7.0.76-1jpp.1.el5_11
java-1.7.0-oracle-plugin-1.7.0.76-1jpp.1.el5_11
Root Cause
- From issue it looks like Oracle got past QA without anybody noticing.
- Issue seeped into Red Hat rpms.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
