Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Errore durante emerge portage [RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Mon Feb 23, 2004 6:37 pm    Post subject: Errore durante emerge portage [RISOLTO] Reply with quote

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
View user's profile Send private message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Mon Feb 23, 2004 6:46 pm    Post subject: Reply with quote

Prova dando un'occhiata qui e qui !!!
_________________
Ciao Gentooaglia
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Mon Feb 23, 2004 6:50 pm    Post subject: Reply with quote

niente ..non funziona nulla ..
Back to top
View user's profile Send private message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Mon Feb 23, 2004 6:56 pm    Post subject: Reply with quote

f0llia wrote:
niente ..non funziona nulla ..

Code:
# ldconfig
provato ???
_________________
Ciao Gentooaglia
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Mon Feb 23, 2004 7:01 pm    Post subject: Reply with quote

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 #

:cry:
Back to top
View user's profile Send private message
Josuke
Veteran
Veteran


Joined: 07 May 2003
Posts: 1175
Location: Italy - Bolzano

PostPosted: Mon Feb 23, 2004 7:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Mon Feb 23, 2004 7:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Mon Feb 23, 2004 9:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Thu Feb 26, 2004 8:03 pm    Post subject: Reply with quote

Il mio problema persiste..!
HELP PLS :cry:
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu Feb 26, 2004 8:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Thu Feb 26, 2004 8:21 pm    Post subject: Reply with quote

dopo aver creato il link riprovo con ldconfig ?
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu Feb 26, 2004 8:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Thu Feb 26, 2004 9:16 pm    Post subject: Reply with quote

Neanche con me gli altri metodi proposti nel forum han dato buon esito:| Non ci posso credere :cry: Neanche cosi ho risolto il problema è lostesso!! AIUTO!
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu Feb 26, 2004 9:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Thu Feb 26, 2004 9:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Thu Feb 26, 2004 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu Feb 26, 2004 9:47 pm    Post subject: Reply with quote

f0llia wrote:
son le ultime rilasciate per ARCH="~x86"


8O 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
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Thu Feb 26, 2004 9:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Thu Feb 26, 2004 9:53 pm    Post subject: Reply with quote

MyZelF wrote:
f0llia wrote:
son le ultime rilasciate per ARCH="~x86"


8O 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 :| :cry:
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Thu Feb 26, 2004 9:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu Feb 26, 2004 10:03 pm    Post subject: Reply with quote

Quindi in teoria sarebbe bastato lanciare un

Code:
# env-update


dopo aver corretto /etc/env.d/05gcc

:oops: :?:
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Thu Feb 26, 2004 10:05 pm    Post subject: Reply with quote

Grande cerri :D :D Cosi ho sistemato, adesso possi tranquillamente ridare un emerge -u world ?
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Thu Feb 26, 2004 10:09 pm    Post subject: Reply with quote

Si a myzelf, si a f0llia. 8)
_________________
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
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Thu Feb 26, 2004 10:12 pm    Post subject: Reply with quote

Grazie mille ancora, grandi come sempre 8)
Back to top
View user's profile Send private message
elbambolo
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2003
Posts: 98

PostPosted: Mon Mar 01, 2004 12:04 pm    Post subject: Reply with quote

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++ !!!
:D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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