Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE Emerge Fails libstdc++.so Error - Solved, sort of.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
DaveKennel
n00b
n00b


Joined: 08 Dec 2005
Posts: 4

PostPosted: Mon Jan 23, 2006 2:07 pm    Post subject: KDE Emerge Fails libstdc++.so Error - Solved, sort of. Reply with quote

Hi, I'm having a lot of trouble trying to emerge KDE-3.4.3. The builds keep failing with similar error messages.

Code:
loopback.cc: In member function `virtual void Arts::LoopbackConnection::qSendBuffer(Arts::Buffer*)':
loopback.cc:39: warning: unused variable 'magic'
/bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../artsc -I../libltdl -I/usr/kde/3.4/include -I/usr/qt/3/include -I.  -I../libltdl -DEXTENSION_DIR='"/usr/kde/3.4/lib"' -DTRADER_DIR='"/usr/kde/3.4/lib/mcop"' -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99  -c -o delayedreturn.lo `test -f 'delayedreturn.cc' || echo './'`delayedreturn.cc
/bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../artsc -I../libltdl -I/usr/kde/3.4/include -I/usr/qt/3/include -I.  -I../libltdl -DEXTENSION_DIR='"/usr/kde/3.4/lib"' -DTRADER_DIR='"/usr/kde/3.4/lib/mcop"' -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99  -c -o thread.lo `test -f 'thread.cc' || echo './'`thread.cc
/bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../artsc -I../libltdl -I/usr/kde/3.4/include -I/usr/qt/3/include -I.  -I../libltdl -DEXTENSION_DIR='"/usr/kde/3.4/lib"' -DTRADER_DIR='"/usr/kde/3.4/lib/mcop"' -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99  -c -o dynamicskeleton.lo `test -f 'dynamicskeleton.cc' || echo './'`dynamicskeleton.cc
/bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99    -o libmcop.la -rpath /usr/kde/3.4/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 1:0  -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib    buffer.lo connection.lo core.lo debug.lo dispatcher.lo iomanager.lo object.lo socketconnection.lo tcpconnection.lo unixconnection.lo tcpserver.lo unixserver.lo objectmanager.lo factory.lo idlfilereg.lo ifacerepo_impl.lo mcoputils.lo startupmanager.lo md5.lo md5auth.lo referenceclean.lo datapacket.lo asyncstream.lo notification.lo flowsystem.lo extensionloader.lo tmpglobalcomm.lo mcopconfig.lo connect.lo reference.lo type.lo trader_impl.lo dynamicrequest.lo anyref.lo loopback.lo delayedreturn.lo thread.lo dynamicskeleton.lo  -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0   ../libltdl/libltdlc.la
i686-pc-linux-gnu-g++: /usr/lib/libstdc++.so: No such file or directory
make[3]: *** [libmcop.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/arts-3.4.3/work/arts-1.4.3/mcop'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/arts-3.4.3/work/arts-1.4.3/mcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-3.4.3/work/arts-1.4.3'
make: *** [all] Error 2

!!! ERROR: kde-base/arts-3.4.3 failed.
!!! Function kde_src_compile, Line 175, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.



I've had this problem since upgrading to GCC-3.4.4. I followed the instructions posted here for that upgrade but when I search for libstdc++ in /usr/lib I only get this:
Code:

ls -lh | grep libstdc
-rwxr-xr-x    1 root root  257K Mar 24  2005 libstdc++-2-libc6.1-1-2.9.0.so
-rwxr-xr-x    1 root root  328K Mar 24  2005 libstdc++-3-libc6.2-2-2.10.0.so
lrwxrwxrwx    1 root root    30 Mar 24  2005 libstdc++-libc6.1-1.so.2 -> libstdc++-2-libc6.1-1-2.9.0.so
lrwxrwxrwx    1 root root    31 Mar 24  2005 libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so
drwxr-xr-x    2 root root   120 Jan 22 22:03 libstdc++-v3
-rw-r--r--    1 root root   929 Dec  6 21:06 libstdc++.la
lrwxrwxrwx    1 root root    20 Mar 24  2005 libstdc++.so.2.7.2 -> libstdc++.so.2.7.2.8
-rwxr-xr-x    1 root root  221K Mar 24  2005 libstdc++.so.2.7.2.8
lrwxrwxrwx    1 root root    18 Mar 24  2005 libstdc++.so.2.8 -> libstdc++.so.2.8.0
-rwxr-xr-x    1 root root  250K Mar 24  2005 libstdc++.so.2.8.0
lrwxrwxrwx    1 root root    18 Mar 24  2005 libstdc++.so.2.9 -> libstdc++.so.2.9.0
-rwxr-xr-x    1 root root  3.7K Mar 24  2005 libstdc++.so.2.9.0


Here is my emerge --info
Code:

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://gentoo.osuosl.org http://adelie.polymtl.ca http://csociety-ftp.ecn.purdue.edu/pub/gentoo http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo http://cudlug.cudenver.edu/gentoo http://gentoo.mirrors.pair.com http://gentoo.ccccom.com http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://mirror.tucdemonic.org/gentoo http://mirror.clarkson.edu/pub/distributions/gentoo http://mirrors.acm.cs.rpi.edu/gentoo http://gentoo.llarian.net http://gentoo.binarycompass.org http://gentoo.mirrored.ca http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com http://gentoo.cs.lewisu.edu/gentoo http://prometheus.cs.wmich.edu/gentoo http://modzer0.cs.uaf.edu/public/gentoo http://mirror.usu.edu/mirrors/gentoo http://lug.mtu.edu/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://ftp.easynet.nl/mirror/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d aalib accessibility acl acpi adns aim alsa apm arts audiofile avi bash-completion bcmath berkdb bitmap-fonts bonobo bzip2 bzlib calendar cdparanoia cdr cpdflib crypt cscope ctype cups curl dba dbase dbm dbx dga dio directfb divx4linux doc dv dvd dvdr eds emboss encode esd ethereal evo examples exif expat f77 fam fastcgi fbcon ffmpeg fftw flac flash foomaticdb fortran freetds ftp gb gd gdbm geoip ggi gif ginac glut gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn imagemagick imap imlib innodb iodbc ipv6 jabber jack java jikes jpeg junit kde ladcca lcms ldap lesstif libcaca libedit libg++ libgda libwww lm_sensors mad maildir mbox mcal memlimit mhash mikmod mime ming mmpap mmx mng motif mozilla mp3 mpeg msn msql mssql mysql mysqli nas ncurses neXt netcdf nis nls nocardbus nptl oci8 odbc offensive ofx ogg oggvorbis openal openalopengl opengl oracle oscar oss pam pcntl pcre pda pdflib perl php pic pie plotutils png posix postgres ppds python qdbm qt quicktime readline recode samba sapdb sasl scanner sdl session shared sharedmem simplexml slang slp sndfile snmp soap sockets speex spell spl ssl svg svga sysvipc tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb videos vorbis wddx wmf wxwindows xine xinerama xml xml2 xmlrpc xmms xpm xv xvid yahoo yaz zeo zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


TIA,
Dave
_________________
Black holes are where god divided by zero.


Last edited by DaveKennel on Tue Jan 24, 2006 1:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
optiactive
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2004
Posts: 92

PostPosted: Mon Jan 23, 2006 7:19 pm    Post subject: Reply with quote

I know you said you followed instructions for upgrading gcc, but you didn't specify which instructions you followed. So, I'm just going to throw this out there...

Did you run fix_libtool_files.sh? I guessing these are the instructions you followed. The section at the bottom, "Common Pitfalls", doesn't note your specific problem, but it does mention you should run this tool if you have problems with libtool and/or libstdc++.
Back to top
View user's profile Send private message
DaveKennel
n00b
n00b


Joined: 08 Dec 2005
Posts: 4

PostPosted: Tue Jan 24, 2006 12:43 am    Post subject: Reply with quote

Yes those are the instructions that I followed.

I have already tried running fix_libtool_files.sh 3.3.6 to no avail. All of the threads I've seen so far are regarding the libstdc++.la issue and not the issue I'm having with libstdc++.so

All other ebuilds on my machine compile normally under GCC-3.4.4 except KDE related ones.

Hoping someone out there knows how to fix this,

Dave
_________________
Black holes are where god divided by zero.
Back to top
View user's profile Send private message
DaveKennel
n00b
n00b


Joined: 08 Dec 2005
Posts: 4

PostPosted: Tue Jan 24, 2006 1:41 pm    Post subject: Reply with quote

Solved - Sort of.

I finally got the system to compile KDE by creating a softlink to the libstdc++.so file in the 3.4.4 compiler tree.
Code:
ln -s /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6.0.3 /usr/lib/libstdc++.so


This seems like a kludge though. Was there a problem with the 3.4.4 ebuild that it didn't create this link automatically? Or is it an issue with the KDE ebuilds?

Dave
_________________
Black holes are where god divided by zero.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum