View previous topic :: View next topic |
Author |
Message |
f0llia l33t

Joined: 22 Apr 2003 Posts: 873
|
Posted: Mon Feb 23, 2004 6:37 pm Post subject: Errore durante emerge portage [RISOLTO] |
|
|
Dando un emerge -u portege mi da il seguente errore:
Code: |
Golbox root # emerge -u portage
python2.2: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Golbox root #
|
Come posso risolvere ?
Lo steso errore me lo da se provo a dare un emerge sync
Last edited by f0llia on Thu Feb 26, 2004 10:12 pm; edited 1 time in total |
|
Back to top |
|
 |
bubble27 Guru


Joined: 07 Aug 2003 Posts: 365 Location: Campobasso
|
Posted: Mon Feb 23, 2004 6:46 pm Post subject: |
|
|
Prova dando un'occhiata qui e qui !!! _________________ Ciao Gentooaglia |
|
Back to top |
|
 |
f0llia l33t

Joined: 22 Apr 2003 Posts: 873
|
Posted: Mon Feb 23, 2004 6:50 pm Post subject: |
|
|
niente ..non funziona nulla .. |
|
Back to top |
|
 |
bubble27 Guru


Joined: 07 Aug 2003 Posts: 365 Location: Campobasso
|
Posted: Mon Feb 23, 2004 6:56 pm Post subject: |
|
|
f0llia wrote: | niente ..non funziona nulla .. |
provato ??? _________________ Ciao Gentooaglia |
|
Back to top |
|
 |
f0llia l33t

Joined: 22 Apr 2003 Posts: 873
|
Posted: Mon Feb 23, 2004 7:01 pm Post subject: |
|
|
si provato :
Code: |
Golbox root # ldconfig
Golbox root # emerge -u portage
python2.2: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Golbox root #
|
 |
|
Back to top |
|
 |
Josuke Veteran


Joined: 07 May 2003 Posts: 1175 Location: Italy - Bolzano
|
Posted: Mon Feb 23, 2004 7:06 pm Post subject: |
|
|
ho avuto lo stesso problema...se hai un pc con la stessa architettura...copia da quel pc i file che richiede...poi ricompila il gcc e le glibc _________________ fletto i muscoli...e sono nel vuoto |
|
Back to top |
|
 |
bubble27 Guru


Joined: 07 Aug 2003 Posts: 365 Location: Campobasso
|
Posted: Mon Feb 23, 2004 7:12 pm Post subject: |
|
|
Ha aggiornato da poco ????
controlla il path del tuo gcc in /etc/env.d/05gcc !!!
cmq controlla anche qui, però più o meno dicono la stessa cosa....
eccolo
Guarda il mio è così
Code: |
$ cat /etc/env.d/05gcc
PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3"
MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info"
CC="gcc"
CXX="g++"
LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2"
|
con questa configurazione
Code: |
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
|
_________________ Ciao Gentooaglia |
|
Back to top |
|
 |
f0llia l33t

Joined: 22 Apr 2003 Posts: 873
|
Posted: Mon Feb 23, 2004 9:21 pm Post subject: |
|
|
l'output è :
Code: |
Golbox root # cat /etc/env.d/05gcc
PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.2"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.2"
MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info"
CC="gcc"
CXX="g++"
LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3"
Golbox root #
|
 |
|
Back to top |
|
 |
f0llia l33t

Joined: 22 Apr 2003 Posts: 873
|
Posted: Thu Feb 26, 2004 8:03 pm Post subject: |
|
|
Il mio problema persiste..!
HELP PLS  |
|
Back to top |
|
 |
MyZelF Bodhisattva


Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Thu Feb 26, 2004 8:06 pm Post subject: |
|
|
Riprova dopo aver creato un link così:
Code: | # ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/ /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3 |
_________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
 |
f0llia l33t

Joined: 22 Apr 2003 Posts: 873
|
Posted: Thu Feb 26, 2004 8:21 pm Post subject: |
|
|
dopo aver creato il link riprovo con ldconfig ? |
|
Back to top |
|
 |
MyZelF Bodhisattva


Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Thu Feb 26, 2004 8:43 pm Post subject: |
|
|
Dopo aver creato il link prova a vedere se emerge torna in vita.
Ho avuto lo stesso problema ieri sera su una macchina che non aggiornavo da un bel po'. Nonostante $LDPATH puntasse alla directory corretta, ho dovuto creare quel link per continuare l'emerge (gli altri consigli di questo post non si sono rivelati efficaci). _________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
 |
f0llia l33t

Joined: 22 Apr 2003 Posts: 873
|
Posted: Thu Feb 26, 2004 9:16 pm Post subject: |
|
|
Neanche con me gli altri metodi proposti nel forum han dato buon esito:| Non ci posso credere Neanche cosi ho risolto il problema è lostesso!! AIUTO! |
|
Back to top |
|
 |
MyZelF Bodhisattva


Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Thu Feb 26, 2004 9:23 pm Post subject: |
|
|
Qual è l'output di
Code: | # find /usr/lib/gcc-lib/ -name libstdc++.so.5 |
Che versioni di gcc, glibc e python hai installate? _________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
 |
f0llia l33t

Joined: 22 Apr 2003 Posts: 873
|
Posted: Thu Feb 26, 2004 9:38 pm Post subject: |
|
|
Ecco l'ouput:
Code: |
Whitebox root #find /usr/lib/gcc-lib/ -name libstdc++.so.5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5
|
Le versioni di quello che mi hai chiesto son le ultime rilasciate per ARCH="~x86" |
|
Back to top |
|
 |
cerri Bodhisattva


Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Thu Feb 26, 2004 9:41 pm Post subject: |
|
|
Cosa contiene il file /etc/ld.so.conf? _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
 |
MyZelF Bodhisattva


Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Thu Feb 26, 2004 9:47 pm Post subject: |
|
|
f0llia wrote: | son le ultime rilasciate per ARCH="~x86" |
Questo *piccolo* particolare ti era sfuggito...
Quindi dovresti avere python 2.3.x, ma perchè nel primo messaggio da te postato emerge usa il 2.2? Hai lanciato python-updater dopo l'upgrade?
Anche tutti gli altri consigli proposti fino a questo momento vanno rivisti sostituendo <3.3.2> con <3.3.3> visto che è questa la versione di gcc installata...  _________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
 |
f0llia l33t

Joined: 22 Apr 2003 Posts: 873
|
Posted: Thu Feb 26, 2004 9:51 pm Post subject: |
|
|
Ecco cosa da :
Code: |
cat /etc/ld.so.conf
#ld.so.con autogenerated by env-update; make all changes to contents of /etc/env.d directory
/usr/local/lib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
/opt/blackdown-jdk-1.4.1/jre/lib/i386
/opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads/
/opt/blackdown-jdk-1.4.1/jre/lib/i386/classic
|
|
|
Back to top |
|
 |
f0llia l33t

Joined: 22 Apr 2003 Posts: 873
|
Posted: Thu Feb 26, 2004 9:53 pm Post subject: |
|
|
MyZelF wrote: | f0llia wrote: | son le ultime rilasciate per ARCH="~x86" |
Questo *piccolo* particolare ti era sfuggito...
Quindi dovresti avere python 2.3.x, ma perchè nel primo messaggio da te postato emerge usa il 2.2? Hai lanciato python-updater dopo l'upgrade?
Anche tutti gli altri consigli proposti fino a questo momento vanno rivisti sostituendo <3.3.2> con <3.3.3> visto che è questa la versione di gcc installata...  |
Io infatti avevo fatto tutto quello che mi avevi detto sostituendo a 3.3.2 con 3.3.3.
Per quanto riguarda python non so dirti poerch veda la 2.2  |
|
Back to top |
|
 |
cerri Bodhisattva


Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Thu Feb 26, 2004 9:57 pm Post subject: |
|
|
Aggiungi a quel file:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3
E lancia ldconfig.
Dovrebbe essere tutto ok. _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
 |
MyZelF Bodhisattva


Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Thu Feb 26, 2004 10:03 pm Post subject: |
|
|
Quindi in teoria sarebbe bastato lanciare un
dopo aver corretto /etc/env.d/05gcc
 _________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
 |
f0llia l33t

Joined: 22 Apr 2003 Posts: 873
|
Posted: Thu Feb 26, 2004 10:05 pm Post subject: |
|
|
Grande cerri Cosi ho sistemato, adesso possi tranquillamente ridare un emerge -u world ? |
|
Back to top |
|
 |
cerri Bodhisattva


Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Thu Feb 26, 2004 10:09 pm Post subject: |
|
|
Si a myzelf, si a f0llia.  _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
 |
f0llia l33t

Joined: 22 Apr 2003 Posts: 873
|
Posted: Thu Feb 26, 2004 10:12 pm Post subject: |
|
|
Grazie mille ancora, grandi come sempre  |
|
Back to top |
|
 |
elbambolo Tux's lil' helper


Joined: 23 Nov 2003 Posts: 98
|
Posted: Mon Mar 01, 2004 12:04 pm Post subject: |
|
|
stesso errore, ma purtroppo la soluzone non è quella :°°
nonostante la modifica al file /etc/ld.so.conf ottengo sempre lo stesso problema.........
cosa posso fare? _________________ da oggi mi metto a studiare il c++ !!!
 |
|
Back to top |
|
 |
|