gentoo - [Fwd: "no version information available" bug]

jAHu jahu na ynet.sk
Pátek Duben 30 12:41:33 CEST 2004


hi, poprosim o pomoc pre kamosa, ak mozete. dik


-------- Original Message --------
Subject: "no version information available" bug
Date: Fri, 30 Apr 2004 12:29:15 +0200
Newsgroups: ynet.linux

Zdravim, preposielam len mail co som poslal na gentoo-user mailinglist, 
kedze
tam mi nikto neodpovedal, skusam to aj tu. Vopred dik za akukolvek pomoc.

-------------

Hi,
   some month ago, I noticed that dosbox is no longer working on my system.
It gives following error output:

$ dosbox
dosbox: /usr/lib/libstdc++.so.5: no version information available 
(required by
dosbox) dosbox: /usr/lib/libstdc++.so.5: no version information available
(required by dosbox) dosbox: relocation error: dosbox: symbol _ZTIPc, 
version
GLIBCPP_3.2 not defined in file libstdc++.so.5 with link time reference

I tried to recompile dosbox, but it did not help. Then I tried recompiling
glibc and gcc, but with no luck. I even tried grabbing a bit older
versions of these, with no luck either.

I also tried reemerging lib-compat (because /usr/lib/libstdc++.so.5 is a
a symlink to files belonging to that package, but nope.

Then I tried emerge -e system, but it failed on xfree, problem seems 
similar:

make[3]: Entering directory
`/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs/glxinfo'
rm -f glxinfo
gcc -o glxinfo -mno-mmx -ansi -pedantic -Wno-return-type -w
-L../../exports/lib   glxinfo.o -lGLU -lGL -lXext -lX11  -lpthread -lm
-Wl,-rpath-link,../../exports/lib
/usr/lib/libstdc++.so.5: warning: `sys_nerr' is deprecated; use 
`strerror' or
`strerror_r' instead
../../exports/lib/libGLU.so: undefined reference to `operator
new(unsigned)@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `vtable
for__cxxabiv1::__class_type_info na GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `vtable
for__cxxabiv1::__vmi_class_type_info na GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference
to`__gxx_personality_v0 na CXXABI_1.2'../../exports/lib/libGLU.so: undefined
reference to `operator delete[](void*)@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `vtable
for__cxxabiv1::__si_class_type_info na GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference
to`__cxa_pure_virtual na CXXABI_1.2'
../../exports/lib/libGLU.so: undefined reference to `operator
new[](unsigned)@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference tob`operator
delete(void*)@GLIBCPP_3.2'
collect2: ld returned 1 exit status make[3]: *** [glxinfo] Error 1 make[3]:
Leaving directory`/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs/glxinfo'
make[2]:***[install] Error 2 make[2]: Leaving
directory`/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs'
make[1]:***[install] Error 2 make[1]: Leaving
directory`/var/tmp/portage/xfree-4.3.0-r5/work/xc' make: *** [install] 
Error 2

(sorry for bit weird line breaks)

However, before that, `emerge -e system` recompiled some dozen system 
packages,
so I tried everything I mentioned above again, in hope that something got
fixed along the way. Nope. :-/

Just today, I emerged an updated version of mplayer, and after that, mplayer
stopped working in the same fashion:

$ mplayer
mplayer: /usr/lib/libstdc++.so.5: no version information available 
(required by
mplayer) mplayer: /usr/lib/libstdc++.so.5: no version information available
(required by mplayer) mplayer: relocation error: mplayer: symbol
_ZTVN10__cxxabiv120__si_class_type_infoE, version GLIBCPP_3.2 not defined in
file libstdc++.so.5 with link time reference


I tried emerging a bit older linux-headers and recompiled gcc and glibc 
again,
but guess what? It did not help.

Question is: what's wrong with my system and how do I fix it?
Here is some relevant info:

$ emerge --info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.4.26-thelair)===============================================================
== System uname: 2.4.26-thelair i686 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System version 1.4.10
distcc[32328] (dcc_set_trace_from_env) ERROR: failed to open logfile
/var/log/distcc.log: Permission denied [disabled] Autoconf:
sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -funroll-loops
-fforce-addr -fprefetch-loop-arrays -falign-functions=4"
CHOST="i686-pc-linux-gnu" COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -funroll-loops
-fforce-addr -fprefetch-loop-arrays -falign-functions=4"
DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.easynet.nl/mirror/gentoo " MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb crypt directfb doc encode flac 
foomaticdb gdbm
gif gnutls gpm gtk gtk2 guile imlib java jpeg libg++ libwww mad mbox 
mikmod mmx
mozilla moznocompose moznoirc moznomail moznoxft mpeg ncurses nls oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline samba sdl 
slang sse
ssl svga tcltk tcpd tetex tiff truetype type1 unicode x86 xml2 xmms xv zlib"

the "-thelair" kernel EXTRAVERSION is just for cosmetic purposes, I'm 
running
vanilla 2.4.26.

Thanks for any feedback, I'm considering a complete reinstall, which is
a violation of something I always boasted among my windows friends -
never having to reinstall.


-- 
/~\ The ASCII        Andrej "Ticho" Kacian <ticho at ynet dot sk>
\ / Ribbon Campaign  GnuPG public key ID: 7CD93FE2 (pgp.mit.edu)
  X  Against HTML     Key fingerprint:
/ \ Email!           E87D 9DEF 2A23 6FFB 7AD9 542F 4253 3A46 7CD9 3FE2



-- 
jAHu
do U jahuuuu?
http://www.jahu.sk/



Další informace o konferenci Linux