Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67603 - /lib/libNoVersion.so.1 missing with glibc-2.3.4.20041006 -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
Summary: /lib/libNoVersion.so.1 missing with glibc-2.3.4.20041006 -rwxr-xr-x ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 67525 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-14 16:43 UTC by arossiach
Modified: 2004-10-28 05:54 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arossiach 2004-10-14 16:43:21 UTC
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"
Comment 1 Carl Bach 2004-10-15 04:37:10 UTC
Have the same problem with moneyplex (commercial precompiled binary banking software). Exactly the same error message; eventhough the files are in /lib. 
Comment 2 arossiach 2004-10-15 10:28:37 UTC
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.
Comment 3 arossiach 2004-10-15 12:21:46 UTC
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
Comment 4 Dan 2004-10-17 00:46:21 UTC
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?
Comment 5 Sven Wegener gentoo-dev 2004-10-17 16:33:50 UTC
*** Bug 67525 has been marked as a duplicate of this bug. ***
Comment 6 Max Ferstl 2004-10-20 00:38:09 UTC
I've got the same problems with DBDesigner4 which is in portage in binary form.
Comment 7 Carl Bach 2004-10-20 01:47:32 UTC
Is that bug being worked on? Its not hard masked in portage. Im dying without my home banking software :-)
Comment 8 Peter Gordon (RETIRED) gentoo-dev 2004-10-20 20:09:14 UTC
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.
Comment 9 Peter Gordon (RETIRED) gentoo-dev 2004-10-20 20:12:20 UTC
Actually, UT2004 (the demo) works fine. My mistake. But Quake III demo is still messed up because of this.
Comment 10 Travis Tilley (RETIRED) gentoo-dev 2004-10-21 10:06:56 UTC
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 *
Comment 11 Travis Tilley (RETIRED) gentoo-dev 2004-10-21 10:08:43 UTC
ignore me, i misunderstood the problem.
Comment 12 Simon Detheridge 2004-10-22 06:11:35 UTC
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"
Comment 13 Lasse Kärkkäinen 2004-10-22 20:28:18 UTC
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
Comment 14 Matthias Pannek 2004-10-23 13:03:45 UTC
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
Comment 15 Guy 2004-10-23 22:11:54 UTC
emerge =glibc-2.3.4.20040606-r1 worked for me for BNR2.

Sorry - I don't know anything about moneyplex.
Comment 16 Hanno Zysik (geki) 2004-10-26 14:47:36 UTC
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?
Comment 17 Travis Tilley (RETIRED) gentoo-dev 2004-10-26 20:45:52 UTC
can everyone sync up in 30 mins to an hour and test glibc-2.3.4.20041021?
Comment 18 Hanno Zysik (geki) 2004-10-26 23:34:26 UTC
1021 finally in portage, tried that (doin branch update on my own yesterday) no luck if i remember well, but ill check again ;)
Comment 19 Hanno Zysik (geki) 2004-10-27 00:30:08 UTC
it starts now.

Thanks a lot lv! :)
Comment 20 Carl Bach 2004-10-27 04:37:17 UTC
works for me, too! 
Comment 21 TGL 2004-10-27 05:17:49 UTC
Works fine now with 20041021 (i did not post previously, but my problem was to launch q3demo). Thanks Travis.
Comment 22 Simon Detheridge 2004-10-27 09:55:35 UTC
Similarly, libswf emerges fine now too. Thanks. :-)
Comment 23 Dan 2004-10-27 10:26:17 UTC
fixes my bulldog upsd software too, thanks :)

and on the plus side, the LD_ASSUME_KERNEL still is working fine -Dan
Comment 24 Peter Gordon (RETIRED) gentoo-dev 2004-10-27 18:18:13 UTC
Just started emerge-ing 20041021. I'll let you know how it goes. Hopefully this fixes it.
Comment 25 Peter Gordon (RETIRED) gentoo-dev 2004-10-27 21:49:05 UTC
Yup, 2.3.4.20041021 seems to fix it. Should we hard-mask 2.3.4.20041006 then?
Comment 26 Travis Tilley (RETIRED) gentoo-dev 2004-10-27 22:48:51 UTC
sorry for taking so long to fix this one. 1006 has been removed, and 1021 has been keyworded to replace it.
Comment 27 Sergiy Borodych 2004-10-28 05:54:51 UTC
yes new 1021 also fix problem with /opt/halflife/steam too ;)
thanks