Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems after adding "multilib" keyword...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Wed Mar 16, 2005 6:04 pm    Post subject: Problems after adding "multilib" keyword... Reply with quote

I've added "multilib" keyword in my USE flags today. I thought that I'm using "mulitlib" all the time because once it was in default keywords, but today I've noticed that my gcc lacks that flag and I've added it manualy.
After that I've recompile gcc and got some strange errors at the end of installation:
Code:
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


Now nothing can be executed:
Code:
titan libstdc++-v3 # emerge --version
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


Nor env-update:
Code:
titan libstdc++-v3 # env-update
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


What to do?

:cry:
_________________
gentoo user
Back to top
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Wed Mar 16, 2005 6:19 pm    Post subject: Reply with quote

Get the stage1,2 or 3 andget the lib from there. U can then emerge libstdc++ later.
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Wed Mar 16, 2005 6:55 pm    Post subject: Reply with quote

I allready have:
Code:
/usr/lib/libstdc++-v3
/usr/lib/libstdc++-v3/libstdc++.so.5
/usr/lib/libstdc++-v3/libstdc++.so.5.0.5
/usr/lib/libstdc++-v3/libstdc++.so.5.0.6
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/libstdc++.la
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/libstdc++.so
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/libstdc++.a
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/libstdc++.so.6
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/libstdc++.so.6.0.3
/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/locale/de/LC_MESSAGES/libstdc++.mo
/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/locale/fr/LC_MESSAGES/libstdc++.mo

but I don't know how to "tell" gentoo where to search for it...
_________________
gentoo user
Back to top
View user's profile Send private message
herbie
Guru
Guru


Joined: 09 Oct 2002
Posts: 319
Location: London UK

PostPosted: Wed Mar 16, 2005 7:12 pm    Post subject: Reply with quote

edit /etc/ld.so.conf and make sure that /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/ is listed, then run ldconfig.
Back to top
View user's profile Send private message
spielc
Guru
Guru


Joined: 20 Apr 2004
Posts: 452

PostPosted: Wed Mar 16, 2005 7:35 pm    Post subject: Reply with quote

Another solution would be to emerge gcc with the sandbox turned off plus a emerge portage afterwards... this will result in a multilib enabled portage plus gcc...
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Wed Mar 16, 2005 8:29 pm    Post subject: Reply with quote

I've edited ld.co.conf and now it looks like this:
Code:

# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/lib
/usr/lib
/usr/local/lib
/lib32
/usr/lib32
/usr/local/lib32
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2/32
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/32
/lib32
/usr/lib32
/emul/linux/x86/lib
/emul/linux/x86/usr/lib
/usr/lib/libstdc++-v3/

done ldconfig, but nothing changed - still can't do anything... :(
Code:
titan root # emerge -pv gcc
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


Quote:
Another solution would be to emerge gcc with the sandbox turned off plus a emerge portage afterwards... this will result in a multilib enabled portage plus gcc...

That's not the solution: I can't emerge anything - not even
Code:
emerge --version


:(
_________________
gentoo user
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Mar 16, 2005 8:37 pm    Post subject: Reply with quote

Please see this topic: https://forums.gentoo.org/viewtopic-t-309452.html (This problem is actually caused by a slight typo in the toolchain eclass, which meant that c++ language support wasn't being built, not a multilib problem.)

Moved from Gentoo on AMD64.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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