Red Hat Bugzilla – Bug 61322
glibc-2.2.5 is not binary compatible with 2.2.4 (breaks jre, wine)
Last modified: 2016-11-24 10:08:38 EST
Description of Problem:
Sun JRE 1.3.1 no longer works with glibc-2.2.5, like it did with glibc-2.2.4.
Self-compiled wine breaks the same way.
Version-Release number of selected component (if applicable):
glibc-2.2.5-26.i686.rpm (from rawhide)
Steps to Reproduce:
1. Launch old wine executable or jre.
java_vm: relocation error: /usr/java/jre1.3.1/lib/i386/libjava.so: symbol
__libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time
Ok, the glibc I used to have (and that worked) is glibc-2.2.4-20.i686.rpm from
rawhide. The jre is jre-1.3.1-fcs.i386.rpm from Sun.com.
The wine version that didn't work is Wine release 20011004 (compiled on Oct 27
from winex CVS against then recent glibc-2.2.x).
The error message from wine is
chroot /backup-versioned/2002-03-17T052001 /bin/zsh
root@babbage:/>rpm -q glibc
wine: relocation error: /usr/local/lib/libntdll.so: symbol __libc_fork, version
GLIBC_2.1.2 not defined in file libc.so.6 with link time reference
-rwxr-xr-x 91 root root 189899 Oct 27 14:59 /usr/local/bin/wine*
libntdll.so => /usr/local/lib/libntdll.so (0x4002a000)
libwine.so => /usr/local/lib/libwine.so (0x4010e000)
libwine_unicode.so => /usr/local/lib/libwine_unicode.so (0x40124000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x401ec000)
libm.so.6 => /lib/i686/libm.so.6 (0x4022d000)
libutil.so.1 => /lib/libutil.so.1 (0x4024f000)
libdl.so.2 => /lib/libdl.so.2 (0x40252000)
libc.so.6 => /lib/i686/libc.so.6 (0x40256000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Both Sun and Wine authors have been notified that they cannot use glibc
internal symbols in their apps. For glibc-2.2.5-27 I've reexported those
symbols temporarily, but those apps will stop working with glibc 2.3 unless
they are fixed.
Ok, I verified that it glibc-2.2.5-27 works at least with jre-1.3.1 (I already
Thank you for the excellent response!