Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge & python problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
badzio
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2003
Posts: 144
Location: Lodz

PostPosted: Tue Feb 10, 2004 9:32 am    Post subject: [SOLVED] emerge & python problem Reply with quote

Witam
Przed weekendem dalem emerge sync a nastepnie emerge -u world - sciagnal mi jedynie najnowsze gcc (z tego co zauwazylem). zadnych bledow po drodze nie wywalil
teraz daje znow emerge sync albo emerge -u world czy jakiekolwiek emerge i dostaje:
Quote:

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

ale ja nic nie ruszalem z pythonem, wiec nie wiem co i czemu sie zrabalo? i moge to jakos naprawic? bo z tego co kojarze, to wlasnie mechanizm emerge oparty jest na pythonie??
_________________
gouranga;-)


Last edited by badzio on Wed Feb 11, 2004 10:44 am; edited 1 time in total
Back to top
View user's profile Send private message
muchar
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 690
Location: /dev/urandom

PostPosted: Tue Feb 10, 2004 9:37 am    Post subject: Reply with quote

Sprawdz czy masz ta biblioteke o ktora krzyczy. Jesli nie masz, no to chyba bedziesz musial "pozyczyc" ja od kogos, bo nie wydaje mi sie aby emerge mogl jakos ruszyc. Aczkolwiek, mozesz zawsze sprobowac emerge-nac pythona :wink:
_________________
MuchaR
Nie denerwuj mnie. Kliknij tu!!!
Homepage: http://muchar.one.pl!!!
Back to top
View user's profile Send private message
Yarecki
n00b
n00b


Joined: 26 Dec 2003
Posts: 58
Location: Poland - 3City

PostPosted: Tue Feb 10, 2004 9:41 am    Post subject: Reply with quote

Sprawdz czy w pliku /etc/env.d/05gcc masz linijke LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2:/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3"
Zaleznie, ktora masz wersje gcc poprawiasz koncowe 3.3.2 i jako root wydajesz polecenie env-update.

Jesli to nie zadziala to w kat. /usr/lib/gcc-lib/i686-pc-linux-gnu/[nr gcc] zrobic odpowiedniego symlinka.
Back to top
View user's profile Send private message
Yarecki
n00b
n00b


Joined: 26 Dec 2003
Posts: 58
Location: Poland - 3City

PostPosted: Tue Feb 10, 2004 9:45 am    Post subject: Reply with quote

muchar wrote:
Aczkolwiek, mozesz zawsze sprobowac emerge-nac pythona :wink:

Python dziala ok tylko brakuje mu bibliotek, ktore wchodza w sklad gcc.
Albo brakuje odpowiednich wpisow w /etc/ld.so.conf, ktory generowany jest przez env-update przy kazdym starcie i kazdym emerge, albo gcc zle sie skompilowalo i brakuje pliku, ewentualnie symlinka.
Back to top
View user's profile Send private message
badzio
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2003
Posts: 144
Location: Lodz

PostPosted: Tue Feb 10, 2004 10:53 am    Post subject: Reply with quote

w pliku /etc/env.d/05gcc mam wpis
Quote:

LDPATH="/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.2:/usr/lib/gcc-lib/i586-pc-linux-

w pliku /etc/ld.so.conf mam
Quote:

/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.3
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.2

symlinka mam:
Quote:

badzio 3.3.2 # ls -l libstdc++.so.5
lrwxrwxrwx 1 root root 18 Feb 8 02:13 libstdc++.so.5 -> libstdc++.so.5.0.5

ale jak daje env-update to mam ten sam blad co przy emerge :?
_________________
gouranga;-)
Back to top
View user's profile Send private message
Yarecki
n00b
n00b


Joined: 26 Dec 2003
Posts: 58
Location: Poland - 3City

PostPosted: Tue Feb 10, 2004 2:47 pm    Post subject: Reply with quote

A plik docelowy symlinka istnieje ?
Przed chwila zmienilem u siebie jego nazwe i wywalilo taki sam blad jak u Ciebie.

W ostatecznosci mozesz ponownie emergnac gcc.
Back to top
View user's profile Send private message
robert1900
n00b
n00b


Joined: 26 Dec 2003
Posts: 12
Location: Poland

PostPosted: Tue Feb 10, 2004 3:07 pm    Post subject: Reply with quote

Miałem podobny problem i pomogło
Code:
emerge gcc

_________________
Regards

Robert

http://www.bystrze.org
Back to top
View user's profile Send private message
badzio
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2003
Posts: 144
Location: Lodz

PostPosted: Tue Feb 10, 2004 3:55 pm    Post subject: Reply with quote

plik docelowy istnieje
Quote:

badzio root # ls -l /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.2/libstdc++.so.5
lrwxrwxrwx 1 root root 18 Feb 8 02:13 /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.2/libstdc++.so.5 -> libstdc++.so.5.0.5

badzio root # ls -l /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.2/libstdc++.so.5.0.5
-rwxr-xr-x 2 root root 711408 Feb 8 02:13 /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.2/libstdc++.so.5.0.5

a emergnac gcc nie moge - nawet jesli dam samo
Code:

emerge

to dostaje
Quote:

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

moze jakas sciezka jest nie tak
:?:
_________________
gouranga;-)
Back to top
View user's profile Send private message
Yarecki
n00b
n00b


Joined: 26 Dec 2003
Posts: 58
Location: Poland - 3City

PostPosted: Tue Feb 10, 2004 4:52 pm    Post subject: Reply with quote

Ostatni pomysl jaki mam to reczne odpalenie ldconfig, a dopiero pozniej env-update.
Back to top
View user's profile Send private message
badzio
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2003
Posts: 144
Location: Lodz

PostPosted: Tue Feb 10, 2004 5:32 pm    Post subject: Reply with quote

Yarecki wrote:
Ostatni pomysl jaki mam to reczne odpalenie ldconfig, a dopiero pozniej env-update.

Pomoglo :D
wielkie dzieki 8)
_________________
gouranga;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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