bulki Guru
Joined: 25 Nov 2004 Posts: 529 Location: SiliconValley
|
Posted: Sun Aug 21, 2005 10:16 am Post subject: [emerge] erreur après compilation GCC (résolu) |
|
|
Yop,
après 9 mois, j'ai enfin décidé de faire un
Code: | emerge --deep --newuse --world | pour faire les mises à jour nécessaires.
Il m'a mis à jour GCC [3.4.4], et maintenant, quand j'essaie d'emerger n'importe quoi:
Code: | # emerge nimportequoi
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
|
Voila ce que me donne gcc-config:
Code: | # gcc-config -l
/usr/bin/gcc-config: line 571: /etc/env.d/gcc/i686-pc-linux-gnu-3.4.3-20050110: No such file or directory
* /usr/bin/gcc-config: Profile does not exist or invalid setting for /etc/env.d/gcc/i686-pc-linux-gnu-3.4.3-20050110
[1] i386-pc-linux-gnu-3.3.5
[2] i386-pc-linux-gnu-3.3.5-hardened
[3] i386-pc-linux-gnu-3.3.5-hardenednopie
[4] i386-pc-linux-gnu-3.3.5-hardenednossp
[5] i686-pc-linux-gnu-3.4.4
[6] i686-pc-linux-gnu-3.4.4-hardened
[7] i686-pc-linux-gnu-3.4.4-hardenednopie
[8] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[9] i686-pc-linux-gnu-3.4.4-hardenednossp
|
Quand je sélectionne le 5:
Code: | # gcc-config 5
* Switching to i686-pc-linux-gnu-3.4.4 compiler...
* /usr/bin/gcc-config: Could not get portage CHOST!
* /usr/bin/gcc-config: Could not get portage CHOST!
* /usr/bin/gcc-config: Could not get portage CHOST!
* /usr/bin/gcc-config: Could not get portage CHOST!
* /usr/bin/gcc-config: Could not get portage CHOST!
* env-update failed to work properly; making sure ld.so.conf paths
* are setup properly. Please rerun gcc-config with the -f option.
[ ok ]
* If you intend to use the gcc from the new profile in an already
* running shell, please remember to do:
* # source /etc/profile
|
Et finalement mon fichier make.conf:
Code: | # These settings were set by the catalyst build script that automatically built
this stage
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-02 -march=pentium3 -msse2 -fomit-frame-pointer -pipe"
CFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe -fno-delayed-branch -fca
ller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions
-frename-registers -fweb -fno-trapping-math -falign-functions=64"
USE="alsa apm arts avi crypt cups dvd encode ethereal gif gnome gtk2 imap imlib
-ipv6 java jpeg -kde libwww live maildir mikmod motif mozilla nas network ncurse
s oci8 oggvorbis opengl oss pam pcmcia pdflib png python -qt quicktime radeon re
al readline sasl sdl slang spell svga tcpd X xml2 xmms xv zlib"
CXXFLAGS="${CFLAGS}"
VIDEO_CARDS="radeon"
ARCH="x86"
#PORTDIR_OVERLAY="/usr/local/portage/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mi
rror/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tisca
li.de/pub/gentoo/"
LINGUAS=fr
|
J'aurais besoin d'un coup de main... Merci
EDIT: Solution |
|