Hi guys, Upon upgrading to sys-libs/glibc-2.3.6-r4 (from glibc-2.3.6-r3) an important program that I use fails to launch: % insightII insightII: relocation error: /opt/accelrys/I2005/Linux_2_Intel_32/biosymso/libcblib.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference I noticed that the USE flags are different for the new glibc: glibc-2.3.6-r4 USE="glibc-compat20 glibc-omitfp nls nptl -build -erandom -hardened -nptlonly -profile" while for the old package they were: glibc-2.3.6-r3 USE="glibc-compat20 glibc-omitfp nls nptl userlocales% -build -erandom -hardened -linuxthreads-tls% -nptlonly -pic% -profile" ldd insightII appears to find everything: libXm.so.2 => /emul/linux/x86/usr/lib/libXm.so.2 (0xf1ac9000) libXt.so.6 => /emul/linux/x86/usr/lib/libXt.so.6 (0xf1a76000) libXi.so.6 => /emul/linux/x86/usr/lib/libXi.so.6 (0xf1a6e000) libXext.so.6 => /emul/linux/x86/usr/lib/libXext.so.6 (0xf1a60000) libX11.so.6 => /emul/linux/x86/usr/lib/libX11.so.6 (0xf1995000) libGL.so.1 => /usr/lib32/opengl/nvidia/lib/libGL.so.1 (0xf1910000) libGLU.so.1 => /emul/linux/x86/usr/lib/libGLU.so.1 (0xf1896000) libm.so.6 => /lib32/tls/libm.so.6 (0xf1870000) libstdc++-libc6.2-2.so.3 => /emul/linux/x86/usr/lib/libstdc++-libc6.2-2.so.3 (0xf181c000) libc.so.6 => /lib32/tls/libc.so.6 (0xf16e7000) libpthread.so.0 => /lib32/tls/libpthread.so.0 (0xf16d3000) libdl.so.2 => /lib32/libdl.so.2 (0xf16cf000) libgcc_s.so.1 => /lib32/libgcc_s.so.1 (0xf16c6000) libSM.so.6 => /emul/linux/x86/usr/lib/libSM.so.6 (0xf16be000) libICE.so.6 => /emul/linux/x86/usr/lib/libICE.so.6 (0xf16a6000) libXp.so.6 => /emul/linux/x86/usr/lib/libXp.so.6 (0xf169d000) libXft.so.2 => /emul/linux/x86/usr/lib/libXft.so.2 (0xf168b000) libXrender.so.1 => /emul/linux/x86/usr/lib/libXrender.so.1 (0xf1683000) libGLcore.so.1 => /usr/lib32/opengl/nvidia/lib/libGLcore.so.1 (0xf0ec2000) libnvidia-tls.so.1 => /usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.1 (0xf0ec0000) libstdc++.so.6 => /opt/accelrys/I2005/Linux_2_Intel_32/biosymso/libstdc++.so.6 (0xf0def000) /lib/ld-linux.so.2 (0xf7fba000) libfontconfig.so.1 => /emul/linux/x86/usr/lib/libfontconfig.so.1 (0xf0dc1000) libexpat.so.0 => /emul/linux/x86/usr/lib/libexpat.so.0 (0xf0da2000) libfreetype.so.6 => /emul/linux/x86/usr/lib/libfreetype.so.6 (0xf0d32000) libz.so.1 => /emul/linux/x86/lib/libz.so.1 (0xf0d21000) I googled a bit and found objdump, which gives me: $ objdump -p /lib32/libc.so.6 ... Version definitions: 1 0x01 0x0865f4e6 libc.so.6 2 0x00 0x0d696910 GLIBC_2.0 and Version References: required from ld-linux.so.2: 0x0d696911 0x00 22 GLIBC_2.1 0x0d696913 0x00 21 GLIBC_2.3 0x0963cf85 0x00 20 GLIBC_PRIVATE 0x0d696910 0x00 19 GLIBC_2.0 $ objdump -T /lib32/libc.so.6 | grep GLIBC.*GLIBC ... 00000000 g DO *ABS* 00000000 GLIBC_2.0 GLIBC_2.0 ... So it appears that GLIBC_2.0 is defined in /lib32/libc.so.6 (at this point I re-emerge the old glibc to see if that fixes the issue.) With -r3 ldd insightII: libXm.so.2 => /emul/linux/x86/usr/lib/libXm.so.2 (0xf1a0b000) libXt.so.6 => /emul/linux/x86/usr/lib/libXt.so.6 (0xf19b8000) libXi.so.6 => /emul/linux/x86/usr/lib/libXi.so.6 (0xf19b0000) libXext.so.6 => /emul/linux/x86/usr/lib/libXext.so.6 (0xf19a2000) libX11.so.6 => /emul/linux/x86/usr/lib/libX11.so.6 (0xf18d7000) libGL.so.1 => /usr/lib32/opengl/nvidia/lib/libGL.so.1 (0xf1852000) libGLU.so.1 => /emul/linux/x86/usr/lib/libGLU.so.1 (0xf17d8000) libm.so.6 => /lib32/tls/libm.so.6 (0xf17b3000) libstdc++-libc6.2-2.so.3 => /emul/linux/x86/usr/lib/libstdc++-libc6.2-2.so.3 (0xf175f000) libc.so.6 => /lib32/tls/libc.so.6 (0xf162a000) libpthread.so.0 => /lib32/tls/libpthread.so.0 (0xf1616000) libdl.so.2 => /lib32/libdl.so.2 (0xf1612000) libgcc_s.so.1 => /lib32/libgcc_s.so.1 (0xf1609000) libSM.so.6 => /emul/linux/x86/usr/lib/libSM.so.6 (0xf1601000) libICE.so.6 => /emul/linux/x86/usr/lib/libICE.so.6 (0xf15e9000) libXp.so.6 => /emul/linux/x86/usr/lib/libXp.so.6 (0xf15e0000) libXft.so.2 => /emul/linux/x86/usr/lib/libXft.so.2 (0xf15ce000) libXrender.so.1 => /emul/linux/x86/usr/lib/libXrender.so.1 (0xf15c6000) libGLcore.so.1 => /usr/lib32/opengl/nvidia/lib/libGLcore.so.1 (0xf0e05000) libnvidia-tls.so.1 => /usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.1 (0xf0e03000) libstdc++.so.6 => /opt/accelrys/I2005/Linux_2_Intel_32/biosymso/libstdc++.so.6 (0xf0d32000) /lib/ld-linux.so.2 (0xf7efd000) libfontconfig.so.1 => /emul/linux/x86/usr/lib/libfontconfig.so.1 (0xf0d04000) libexpat.so.0 => /emul/linux/x86/usr/lib/libexpat.so.0 (0xf0ce5000) libfreetype.so.6 => /emul/linux/x86/usr/lib/libfreetype.so.6 (0xf0c75000) libz.so.1 => /emul/linux/x86/lib/libz.so.1 (0xf0c64000) Looks exactly the same, only the programs runs normally using glibc-2.3.6-r3... Any ideas would be helpful....
Sorry, forgot this: # emerge --info Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 x86_64) ================================================================= System uname: 2.6.16-gentoo-r9 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.6.15 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -mtune=opteron -fomit-frame-pointer -Os -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=opteron -mtune=opteron -fomit-frame-pointer -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo http://mirrors.tds.net/gentoo ftp://gentoo.ccccom.com http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.osuosl.org" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 3xnowex X a52 aac aalib acpi alsa amr apache2 apbs audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo canvas cdr cli cmkopt crypt cups curl dga directfb divx4linux dri dts dvd dvdr dvdread effects emboss encode extensions f77 fam fbcon ffmpeg fftw flac fontconfig foomaticdb fortran gb gd gif gnutls gpm gtk gtk2 gtkhtml h323 hdf idn imagemagick imlib inkjar insecure-savers isdnlog ithreads java jce jpeg jpg kqemu lcms ldap lesstif libgda lirc live logitech-mouse logrotate lzw lzw-tiff mad maildir matroska mikmod mjpeg mng mopac7 motif mozcalendar mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpi mplayer mpqc mysql mythtv ncurses netcdf network nls no_wxgtk1 nptl nsplugin nvidia offensive ogg oggvorbis openbabel opengl pam pcre pdflib perl plotutils png pnp pop ppds pppd pymol python quicktime rar readline reflection rtc sasl sdl session smp spell spl ssl startup-notification subtitles svg t1lib tcltk tcpd tetex theora threads tiff toolbar truetype truetype-fonts type1-fonts usb v4l v4l2 vcd video_cards_nvidia vorbis wmf xchattext xinetd xml xorg xpm xprint xscreensaver xv xvid xvmc zlib elibc_glibc kernel_linux lirc_devices_hauppauge userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
USE=glibc-compat20 *** This bug has been marked as a duplicate of 95351 ***
I did use glibc-compat20. I said so in the 3rd paragraph. [ebuild R ] sys-libs/glibc-2.3.6-r4 USE="glibc-compat20 glibc-omitfp nls nptl -build -erandom -hardened -nptlonly -profile" 0 kB I remember that bug...I was having trouble with this exact same program and glibc-compat20 fixed it. It appears that it doesn't have that effect anymore...
looks like fedora dropped support for glibc-2.0 compat
Does that mean I can't upgrade glibc anymore?
it means you can wait until i fix it
sync up ... should be fixed now
Sorry Spanky, but I just synced again and it's still broken: % insightII Loading Insight II using OpenGL graphics ... unable to load font: -*-palatino-bold-r-normal-*-33-*-*-*-*-*-*-*. Trying 8x16. /opt/accelrys/I2005/Linux_2_Intel_32/biosym_exe/insightII: relocation error: /opt/accelrys/I2005/Linux_2_Intel_32/biosymso/libcblib.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
i'll need the `emerge glibc` log from you
same here: Upon upgrading to sys-libs/glibc-2.3.6-r4 (from glibc-2.3.6-r3) programs stop working with error: /..(path..) ... /XXXXX: relocation error: /..(path..) ... /XXXXX symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference downgrading to the r3 version solves. the USE=compat20 is not relevant (on two computer, one with this flag enabled, the other not, had exactly the same behaviour)
... was forgetting (possibly) relevant information: the software I'm talking about needs the LD-ASSUME-KERNEL=2.4.1 environment variable.
*** Bug 138272 has been marked as a duplicate of this bug. ***
looks like this has always been broken ... nobody noticed before though because other code was hiding the issue in glibc-2.3.6-r3 when i cleaned out a lot of cruft though it brought the issue to light sync up and it'll be fixed (seriously, it will ;D)
Yup! It's fixed :D Thanks SPanKY
(In reply to comment #14) > Yup! It's fixed :D > > Thanks SPanKY > fixed also for me Thank You SPanKY !