incompatibility between new glibc and Teamspeak Reproducible: Always Steps to Reproduce: 1. emerge =sys-libs/glibc-2.3.4.20041006 2. TeamSpeak Actual Results: Teamspeak error while loading shared libraries: /lib/libNoVersion.so.1: cannot open shared object file: No such file or directory -rwxr-xr-x 5.740 04-10-14 08:28 /lib/libNoVersion-2.3.4.so lrwxrwxrwx - 04-10-14 08:30 /lib/libNoVersion.so.1 -> libNoVersion-2.3.4.so Expected Results: Have Teamspeak working :) Downgrading to glibc-2.3.4.20040808-r1 "solve" the problem. Portage 2.0.51_rc9 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r8 i686) ================================================================= System uname: 2.6.8-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -ftracer -fPIC" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/s hare/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/g eneric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -ftracer -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb bitmap-fonts cdparanoia cdr crypt cups dga dvd dvdread encode f77 flac foomaticdb gdbm gif gimpprint gpm gtk gtk2 imagemagick imlib ithreads java jpeg latex libg++ libww w lzo mad matroska mikmod mmx mmx2 mng motif mozilla mozsvg mpeg nas ncurses network nls nptl oggv orbis openal opengl oss pam pdflib perl png ppds python quicktime readline rtc scanner sdl slang s peex spell sse sse2 ssl svg svga tcltk tcpd tetex tga theora threads tiff truetype usb wmf x86 xml xml2 xmms xprint xv zlib video_cards_radeon"
Have the same problem with moneyplex (commercial precompiled binary banking software). Exactly the same error message; eventhough the files are in /lib.
Right, I've maybe found how to solve this, can't test it now, so i put it here. the glibc must be build with +nptl -nptlonly. So linuxthreads and nptl are both build. Then when you launch a prebuild binarie that don't support nptl, use this command line, for example for Teamspeak : export LD_ASSUME_KERNEL=2.4.*; TeamSpeak This will force Teamspeak to use linuxthreads and not nptl, by default nptl is used for all binaries, so you must "mask" nptl and make the system show linuxthreads to yr application. that could explain why /lib/libNoversion.so.1 exist on the system but is not seen by TeamSpeak or any other apps.
LD_ASSUME_KERNEL=2.4.1 TeamSpeak do not work :( but $ getconf GNU_LIBPTHREAD_VERSION NPTL 2.3.4 $ LD_ASSUME_KERNEL=2.4.1 getconf GNU_LIBPTHREAD_VERSION linuxthreads-0.10
Same problem with the belkin bulldog ups software - i can confirm that LD_ASSUME_KERNEL works, since it fixes my simcity 3000's segfault, but that doesn't seem to be the answer for this problem - and it was working with nptl with older glibc's anyway. Any other ideas?
*** Bug 67525 has been marked as a duplicate of this bug. ***
I've got the same problems with DBDesigner4 which is in portage in binary form.
Is that bug being worked on? Its not hard masked in portage. Im dying without my home banking software :-)
I can confirm this bug. I'm getting it while trying to play Quake III and UT2004. I cannot test the LD_ASSUME_KERNEL workaround, however, as I have built my glibc with NPTL only. I will re-emerge it with USE="-nptlonly" and see if the LD_ASSUME_KERNEL thing helps.
Actually, UT2004 (the demo) works fine. My mistake. But Quake III demo is still messed up because of this.
this problem existed when this glibc was masked -*. it was fixed before making it into ~arch. can all of you try re-emerging glibc to see if that's all you need? ayanami gcc # qpkg -f /lib/libNoVersion-2.3.4.so sys-libs/glibc *
ignore me, i misunderstood the problem.
This bug happens to me when trying to emerge libswf-0.99. It contains a binary called imgtofi which displays the above error, when run. Using LD_ASSUME_KERNEL as described does not work either. Here are the details: ls -l /lib/libNoVersion*: -rwxr-xr-x 1 root root 9752 Oct 18 17:13 /lib/libNoVersion-2.3.4.so lrwxrwxrwx 1 root root 21 Oct 18 17:13 /lib/libNoVersion.so.1 -> libNoVersion-2.3.4.so strace /var/tmp/portage/libswf-0.99/work/dist/bin/imgtofi: execve("/var/tmp/portage/libswf-0.99/work/dist/bin/imgtofi", ["/var/tmp/portage/libswf-0.99/work/dist/bin/imgtofi"], [/* 46 vars */]) = 0 uname({sys="Linux", node="elvis", ...}) = 0 brk(0) = 0x8072000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/lib/libNoVersion.so.1", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0755, st_size=9752, ...}) = 0 close(3) = 0 open("/lib/libNoVersion.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \7\0\000"..., 512) = 512 close(3) = 0 writev(2, [{"/var/tmp/portage/libswf-0.99/wor"..., 50}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"/lib/libNoVersion.so.1", 22}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10/var/tmp/portage/libswf-0.99/work/dist/bin/imgtofi: error while loading shared libraries: /lib/libNoVersion.so.1: cannot open shared object file: No such file or directory ) = 172 exit_group(127) = ? emerge info: Portage 2.0.51_rc9 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9-rc4-mm1 i686) ================================================================= System uname: 2.6.9-rc4-mm1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -m3dnow -msse -mfpmath=sse,387 -mmmx -maccumulate-outgoing-args -ftracer -pipe -fforce-addr -falign-functions=4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -m3dnow -msse -mfpmath=sse,387 -mmmx -maccumulate-outgoing-args -ftracer -pipe -fforce-addr -falign-functions=4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://mir.zyrianes.net/gentoo/ http://gentoo.mirror.sdv.fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rumplestiltskin/gentoo-portage/" USE="3dnow X accessibility acpi aim alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo bzlib calendar cdr cpdflib crypt cscope ctype cups dga dio divx4linux doc dvb dvd dvdr emacs emacs-w3 encode esd ethereal exif f77 fam fftw flac flash foomaticdb ftp gd gd-external gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile iconv icq imagemagick imap imlib innodb jabber jack java jikes jpeg junit kde ladcca ldap leim libg++ libwww lirc mad maildir mailwrapper mcal mhash mikmod milter mime ming mmap mmx mng motif mozilla mpeg mpi msn mysql mysqli nas ncurses nls nptl offensive oggvorbis openal opengl oss pam pcre pda pdflib perl php pic plotutils png pnp posix postgres python qt quicktime readline recode ruby samba sdl session sharedmem slang snmp soap sockets speex spell spl sse ssl svg svga sysvipc szip tcltk tcpd tetex threads tidy tiff tokenizer truetype trusted unicode usb vhosts videos wmf wxwindows x86 xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid yahoo zeo zlib ~x86"
All Kylix software depend on this library, and refuse to work currently. The library files seem to be in place, but the programs just don't see them somehow. Here is what I have: [ebuild R ] sys-libs/glibc-2.3.4.20041006 -build -debug -erandom -hardened -multilib +nls -nptl -nptlonly -pic -userlocales 0 kB
Same problem here with moneyplex. I have reemerged the old version with: emerge =glibc-2.3.4.20040808-r1 But now: pannek@keiko ~/moneyplex $ ./moneyplex ./moneyplex: symbol lookup error: ./moneyplex: undefined symbol: initPAnsiStrings
emerge =glibc-2.3.4.20040606-r1 worked for me for BNR2. Sorry - I don't know anything about moneyplex.
well, this libNoVersion segfaults so i deleted /lib/libNoVersion*. after executing `strace TeamSpeak` some strange things popped up: ... open("/lib/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000H\0\000"..., 512) = 512 close(3) = 0 stat64("/lib", {st_mode=S_IFDIR|0755, st_size=145, ...}) = 0 ... error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory It found that library but did not do the "mmap" stuff like here: open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\24"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1040446, ...}) = 0 mmap2(NULL, 945176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7ef6000 mmap2(0xa7fd9000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe2) = 0xa7fd9000 close(3) = 0 executing: $ ldd /opt/teamspeak2-client/TeamSpeak.bin linux-gate.so.1 => (0xffffe000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xa7ef6000) libpthread.so.0 => not found libdl.so.2 => not found libc.so.6 => not found libdl.so.2 => not found libc.so.6 => not found I see that this libNoVersion is optional and does in overall bad things if you google for it ;) why the heck it does not find the libraries? although it finds them but does not do the "mmap" stuff (see above)? other progs just find them and work! anyone understands that? anyhow possible to tell TeamSpeak to use that files?
can everyone sync up in 30 mins to an hour and test glibc-2.3.4.20041021?
1021 finally in portage, tried that (doin branch update on my own yesterday) no luck if i remember well, but ill check again ;)
it starts now. Thanks a lot lv! :)
works for me, too!
Works fine now with 20041021 (i did not post previously, but my problem was to launch q3demo). Thanks Travis.
Similarly, libswf emerges fine now too. Thanks. :-)
fixes my bulldog upsd software too, thanks :) and on the plus side, the LD_ASSUME_KERNEL still is working fine -Dan
Just started emerge-ing 20041021. I'll let you know how it goes. Hopefully this fixes it.
Yup, 2.3.4.20041021 seems to fix it. Should we hard-mask 2.3.4.20041006 then?
sorry for taking so long to fix this one. 1006 has been removed, and 1021 has been keyworded to replace it.
yes new 1021 also fix problem with /opt/halflife/steam too ;) thanks