Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[emerge] pb avec la commande (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
creuvard
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 211
Location: Bordeaux

PostPosted: Sat Jun 04, 2005 5:09 pm    Post subject: [emerge] pb avec la commande (résolu) Reply with quote

Salut a tous

DSL pour le titre mais je savais pas quoi mettre.

Voila mon souci.

A chaque fois que je lance la commande emerge j'ai un message d'erreur.

Code:


# emerge sync
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory



c'est apparu comme ca d'un coup. sans etc-update

Donc la je suis un peu bloquer car je peux rien faire.
Voila j'ai chercher sur le forum mais j'ai rien trouve de semblable.
Et je sais pas trop quoi vous donner comme info pour resoudre cela.


Last edited by creuvard on Sun Jun 05, 2005 9:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Sat Jun 04, 2005 5:11 pm    Post subject: Reply with quote

gcc-config -l
gcc-config lenumeroquivabien

Tu as upgradé ton gcc non ? :) j'ai des potes qui ont eu ceprobleme exactement
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sat Jun 04, 2005 5:12 pm    Post subject: Reply with quote

sinon ya de l'aide la : /usr/portage/sys-apps/portage/files/README.RESCUE
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
creuvard
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 211
Location: Bordeaux

PostPosted: Sun Jun 05, 2005 8:26 pm    Post subject: Reply with quote

Voila j'ai tester avec gcc-config voila ce que cela donne

Code:


lxnaycd / # gcc-config -l
[1] i386-pc-linux-gnu-3.3.4
[2] i686-pc-linux-gnu-3.4.4
[3] i686-pc-linux-gnu-3.4.4-hardened
[4] i686-pc-linux-gnu-3.4.4-hardenednopie
[5] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[6] i686-pc-linux-gnu-3.4.4-hardenednossp
lxnaycd / # gcc-config i686-pc-linux-gnu-3.4.4
 * Switching to i686-pc-linux-gnu-3.4.4 compiler ...
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!
/usr/bin/gcc-config: line 81: env: command not found
 * /usr/bin/gcc-config: Could not get portage CHOST!
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!                                             [ ok ]
 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   # source /etc/profile

lxnaycd / #


J'ai essaye avec gcc-config i386-pc-linux-gnu-3.3.4 et ca me renvoie le meme message d erreur

Il faut faut que j'applique ce qui est dit dans le /usr/portage/sys-apps/portage/files/README.RESCUE pour debloquer la situation? ou alors vue le message il y a plus simple ?:(
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Jun 05, 2005 8:49 pm    Post subject: Reply with quote

dis donc, je sais pas a combien de posts du meme genre j'ai repondu aujourd'hui ;) :

https://forums.gentoo.org/viewtopic-t-344483-highlight-emerge+python.html
https://forums.gentoo.org/viewtopic-t-345046-highlight-python+gcc.html
https://forums.gentoo.org/viewtopic-t-344691.html

Ca devrait le faire :)
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
creuvard
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 211
Location: Bordeaux

PostPosted: Sun Jun 05, 2005 9:47 pm    Post subject: Reply with quote

en effet ca le fait.

Merci

Code:
 
ln -s /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 /lib/libstdc++.so.6
env-update
gcc-config i686-pc-linux-gnu-3.4.4
fix_libtool_files.sh 3.4.4
source /etc/profile
rm /lib/libstdc++.so.6
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Jun 05, 2005 10:00 pm    Post subject: Reply with quote

pas de quoi :D
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
zoltix
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 249
Location: Brusssels

PostPosted: Tue Nov 01, 2005 2:02 pm    Post subject: Reply with quote

j'ai le meme probleme mais la solution ne marche pas chez moi........
D'abord je commence par le message d'erreur
Code:

BruFree01 ~ # emerge
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

chez moi libstdc++.so.5 et non pas libstdc++.so.6

Puis j'ai esseyé ces commandes
Code:

ruFree01 ~ # ln -s /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 /lib/libstdc++.so.6
ln: `/lib/libstdc++.so.6': File exists
BruFree01 ~ # env-update
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
BruFree01 ~ # gcc-config i686-pc-linux-gnu-3.4.4
 * /usr/bin/gcc-config: Could not locate 'i686-pc-linux-gnu-3.4.4' in '/etc/env.d/gcc/' !
BruFree01 ~ # gcc-config i686-pc-linux-gnu-3.4.6
 * /usr/bin/gcc-config: Could not locate 'i686-pc-linux-gnu-3.4.6' in '/etc/env.d/gcc/' !
BruFree01 ~ # gcc-config i686-pc-linux-gnu-3.3.6
 * Switching native-compiler to i686-pc-linux-gnu-3.3.6 ...                                                                            [ ok ]BruFree01 ~ # fix_libtool_files.sh 3.4.4
 * Scanning libtool files for hardcoded gcc library paths...
 *   [1/7] Scanning /lib ...
 *   [2/7] Scanning /usr/lib ...
 *   [3/7] Scanning /opt/blackdown-jdk-1.4.2.02/jre/lib/i386 ...
 *   [4/7] Scanning /usr/i686-pc-linux-gnu/lib ...
 *   [5/7] Scanning /usr/kde/3.4/lib ...
 *   [6/7] Scanning /usr/local/lib ...
 *   [7/7] Scanning /usr/qt/3/lib ...
BruFree01 ~ # source /etc/profile
BruFree01 ~ # rm /lib/libstdc++.so.6



Mais ca n'a pas marché......
Merci d'avance de votre aide
Back to top
View user's profile Send private message
loopx
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2787
Location: Belgium / Liège

PostPosted: Tue Nov 01, 2005 2:58 pm    Post subject: Reply with quote

heu, rien avoir mais... :

Code:

loopx@loopx-nb ~/dvdshrink $ gcc-config -l
 [1] i386-pc-linux-gnu-3.3.6 *
 [2] i386-pc-linux-gnu-3.3.6-hardened
 [3] i386-pc-linux-gnu-3.3.6-hardenednopie
 [4] i386-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i386-pc-linux-gnu-3.3.6-hardenednossp
 [6] i386-pc-linux-gnu-3.4.4
 [7] i386-pc-linux-gnu-3.4.4-hardened
 [8] i386-pc-linux-gnu-3.4.4-hardenednopie
 [9] i386-pc-linux-gnu-3.4.4-hardenednopiessp
 [10] i386-pc-linux-gnu-3.4.4-hardenednossp


Pourquoi y a t'il 2 version ?? et le '*' à la première ligne, c'est pour dire que c'est celui la qui est utilisé ?
_________________
Mon MediaWiki perso : http://pix-mania.dyndns.org
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Tue Nov 01, 2005 3:01 pm    Post subject: Reply with quote

loopx wrote:
heu, rien avoir mais... :

Code:

loopx@loopx-nb ~/dvdshrink $ gcc-config -l
 [1] i386-pc-linux-gnu-3.3.6 *
 [2] i386-pc-linux-gnu-3.3.6-hardened
 [3] i386-pc-linux-gnu-3.3.6-hardenednopie
 [4] i386-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i386-pc-linux-gnu-3.3.6-hardenednossp
 [6] i386-pc-linux-gnu-3.4.4
 [7] i386-pc-linux-gnu-3.4.4-hardened
 [8] i386-pc-linux-gnu-3.4.4-hardenednopie
 [9] i386-pc-linux-gnu-3.4.4-hardenednopiessp
 [10] i386-pc-linux-gnu-3.4.4-hardenednossp


Pourquoi y a t'il 2 version ??

Parcequ'elles ne sont pas sur le meme slot, donc peuvent cohabiter. Portage n'enleve pas automatiquement l'ancienne version dans ce cas

Quote:
et le '*' à la première ligne, c'est pour dire que c'est celui la qui est utilisé ?

Oui
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
zoltix
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 249
Location: Brusssels

PostPosted: Tue Nov 01, 2005 4:31 pm    Post subject: Reply with quote

Je suis désespéré avec ma gentoo personne n'aurait une solution ? ....
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Tue Nov 01, 2005 4:44 pm    Post subject: Reply with quote

regarde ici : https://forums.gentoo.org/viewtopic-t-397438-highlight-libstdc+python+emerge.html
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
zoltix
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 249
Location: Brusssels

PostPosted: Tue Nov 01, 2005 5:09 pm    Post subject: Reply with quote

il va chercher directement les fichiers pour le gcc et puis je ne comprends ce qu'il fait pour l'installer.........

Merci d'avance ..............Et je ne comprends rien a ce probleme........;
Back to top
View user's profile Send private message
zoltix
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 249
Location: Brusssels

PostPosted: Tue Nov 01, 2005 7:54 pm    Post subject: Reply with quote

j'ai réussi mais maitenant j'ai une autre erreur
Code:

BruFree01 ~ # emerge
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)

lorsque je fais le rm -Rf /usr/portage/profiles et apres emerge --sync
l'erreur revient .........Auriez-vous une bonne idée ?
Back to top
View user's profile Send private message
zoltix
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 249
Location: Brusssels

PostPosted: Tue Nov 01, 2005 11:03 pm    Post subject: Reply with quote

J'ai enfin résolu mon problème. Voila ce que j'ai du faire.
1)j'ai du aller downloader les fichiers de Gcc qui corresponde a ma version a ce link [url] ftp://tinderbox.x86.dev.gentoo.org/default-linux/x86/2005.1/All/ [/url] (ou http://dev.gentoo.org/~avenj/bins/) .
2)j'ai décompressé avec le fichier commande
Code:
 tar -xvjf gcc-3.3.6.tbz2.tbz2 -C
( http://dev.gentoo.org/~avenj/bins/README )
3)j'ai fait un
Code:
link ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.6.6/libstdc++.so.5 /usr/lib/libstdc++.so.5

4)Mais lorsque j'ai fait un emerge j'ai eu une autre erreur
Code:
BruFree01 ~ # emerge
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)

5)Après j'ai suivi les instructions file:///usr/portage/sys-apps/portage/files/README.RESCUE donc j'ai pris portage-rescue-2.0.51-r14-x86.tbz2 et j'ai décompressé
Code:
tar xjpUvf portage-rescue-2.0.51-r14-x86.tbz2 -C /

6) et enfin
Code:
emerge -e system

7)
Code:
 emerge --sync

8)
Code:
emerge portage gcc
par précaution
9)
Code:
emerge --update --deep --world --newuse
mise a jour
10)
Code:
 emerge --depclean

11)
Code:
 revdep-rebuild     
/* (emerge gentoolkit) */
12)et C'est fini et çaa marche
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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