khosra n00b
Joined: 06 Aug 2004 Posts: 28
|
Posted: Sun Feb 06, 2005 3:03 pm Post subject: Emerge gcc-3.4.3-r1 failed with cannot find /lib32/libc.so. |
|
|
After emerging portage gave me warnings that I don't have multilib, I tried to emerge gcc using some instructions from these forums, namely:
Code: | # FEATURES="-sandbox" USE="multilib" emerge gcc |
but got the following error:
Code: | /usr/x86_64-pc-linux-gnu/bin/ld: cannot find /lib32/libc.so.6
collect2: ld returned 1 exit status
make[3]: *** [32/libgcc_s_32.so] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make: *** [profiledbootstrap] Error 2
!!! ERROR: sys-devel/gcc-3.4.3-r1 failed.
!!! Function gcc_do_make, Line 1079, Exitcode 2
!!! make failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message. |
which is different than the errors I've seen in the forums. I think I haven't emerged some other set of libs. I'm assuming /lib32 is an AMD64 specific thing that I don't know about. Any direction would be appreciated. I installed gentoo on this machine a while ago and haven't used it since.
Code: | # emerge --info
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.3.3, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r11 x86_64)
=================================================================
System uname: 2.6.7-gentoo-r11 x86_64 AMD Opteron(tm) Processor 248
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 30 2005, 21:21:52)]
dev-lang/python: 2.3.4
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.2-r5
virtual/os-headers: 2.6.6-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=x86-64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 arts berkdb bitmap-fonts cdr crypt cups dvd esd f77 fam font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk imap ipv6 java jp2 jpeg ldap libwww lzw lzw-tiff mikmod motif mozilla multilib mysql ncurses nls oggvorbis opengl oss pam perl png python readline ruby samba sdl ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xmms xpm xrandr xv zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY |
|
|