Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40955 - Upgrading to 3.3.2 crashes emerge
Summary: Upgrading to 3.3.2 crashes emerge
Status: RESOLVED DUPLICATE of bug 40694
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
: 41165 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-09 04:03 UTC by Ole Tange
Modified: 2005-07-17 13:06 UTC (History)
3 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 Ole Tange 2004-02-09 04:03:56 UTC
After emerge gcc-3.3.2 emerge crashes with:
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Reproducible: Always
Steps to Reproduce:




Workaround:  
cd /usr/lib 
ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5 . 
ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 .
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-02-09 05:45:42 UTC
same here

# ldd /usr/bin/python
        linux-gate.so.1 =>  (0xffffd000)
        libpython2.3.so.1.0 => /usr/lib/libpython2.3.so.1.0 (0x40029000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40143000)
        libdl.so.2 => /lib/libdl.so.2 (0x40153000)
        libutil.so.1 => /lib/libutil.so.1 (0x40156000)
        libstdc++.so.5 => not found
        libm.so.6 => /lib/libm.so.6 (0x40159000)
        libgcc_s.so.1 => not found
        libc.so.6 => /lib/libc.so.6 (0x4017b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-02-09 05:50:33 UTC
1076327288:  *** emerge  gcc
1076327288:  >>> emerge (1 of 1) sys-devel/gcc-3.3.2-r5 to /
1076327288:  === (1 of 1) Cleaning (sys-devel/gcc-3.3.2-r5::/usr/portage/sys-dev
el/gcc/gcc-3.3.2-r5.ebuild)
1076327288:  === (1 of 1) Compiling/Merging (sys-devel/gcc-3.3.2-r5::/usr/portag
e/sys-devel/gcc/gcc-3.3.2-r5.ebuild)
1076331644:  === (1 of 1) Post-Build Cleaning (sys-devel/gcc-3.3.2-r5::/usr/port
age/sys-devel/gcc/gcc-3.3.2-r5.ebuild)
1076331650:  >>> AUTOCLEAN: sys-devel/gcc
1076331655: === Unmerging... (sys-devel/gcc-3.3.1-r1)
1076331705:  >>> unmerge success: sys-devel/gcc-3.3.1-r1
1076331705:  ::: completed emerge (1 of 1) sys-devel/gcc-3.3.2-r5 to /
1076331705:  *** Finished. Cleaning up...







# emerge info
Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1-mm2)
=================================================================
System uname: 2.6.1-mm2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://10.71.48.164/gentoo http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
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 aalib alsa apache2 apm arts autofs avi berkdb bluetooth cdr clamav crypt cups dga dv dvd encode esd ethereal evms2 evo faad fam ffmpeg fltk foomaticdb gd gdbm geoip gif gnome gpm gtk gtk2 imagemagick imap imlib irda java jpeg kde ldap libg++ libwww lirc mad matroska mcal mikmod mmx motif mozilla mpeg mysql nas ncurses nls nptl oggvorbis opengl oss pam pcmcia pdflib perl pic png pnp postgres python qt quicktime readline samba sdl slang snmp speex spell sse ssl svga tcltk tcpd threads tiff transcode truetype x86 xine xml2 xmms xv zlib"
Comment 3 Alastair Murray 2004-02-09 05:55:15 UTC
Try running ldconfig as root.
Comment 4 Ole Tange 2004-02-09 06:01:42 UTC
I have emerged other packages and it seems one of these did the ldconfig-trick. Anyway: I could now remove the workaround-links in /usr/lib.

/Ole
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2004-02-09 06:26:17 UTC
ldconfig did the trick
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2004-02-09 07:27:13 UTC
It'll be fixed in portage-2.0.50-r1 very shortly.
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2004-02-10 23:09:45 UTC
*** Bug 41165 has been marked as a duplicate of this bug. ***
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-11 11:46:18 UTC

*** This bug has been marked as a duplicate of 40694 ***
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-11 13:25:25 UTC
Oh, and please remember to remove the 'fix' (custom symlinks).