After reemregind gcc-3.4.5 on my system it caused the next package to be emerged to fail. $ emerge -avDN gcc ... * switch to the newly installed gcc version, do the * following: * gcc-config i686-pc-linux-gnu-3.4.5 * source /etc/profile ... # gcc-config i686-pc-linux-gnu-3.4.5 * Switching native-compiler to i686-pc-linux-gnu-3.4.5 ... [ ok ] * If you intend to use the gcc from the new profile in an already * running shell, please remember to do: * # source /etc/profile # source /etc/profile # emerge -auvDN1 system /usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory I can't do "revdep-rebuild --library libstdc++.so.5" becouse emerge,python,... doesn't work. ------- ('emerge --info' goes here) # emerge --info /usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Sigh... Read the howto first next time. http://www.gentoo.org/doc/en/gcc-upgrading.xml
<pyp> i used tool recomended in "Gentoo Linux x86 Handbook" see section: "Working with Gentoo". I readed man page of emerge(1) tool. And used this tool, in the way described on theses documents. I don't see any link to http://www.gentoo.org/doc/en/gcc-upgrading.xml. upgrade process doens't stop (like mysql upgrade issue). It goes siletly forward, and breaks all my system. You think. this is normal behavior? No i don't. Normal behavior are documented on man page emerge(1).
Excuse me, you did the *exact* *opposite* of what's states in gcc upgrading guide, then file an INVALID bug, complaining about your own mistake, and then reopen it when provided with an explanation? Give us a break, if you don't know how to upgrade gcc properly, then *first* read the documentation and *then* file a bug if you have followed the docs and your system broke. Ugrade process does NOT break anything, YOU broke your system by # gcc-config i686-pc-linux-gnu-3.4.5 *before* doing all the required steps as described in the aforementioned howto. Stop blaming Gentoo about your own stupid mistake, seriously! INVALID.
CLOSED.
(In reply to comment #2) > I don't see any link to http://www.gentoo.org/doc/en/gcc-upgrading.xml. > > upgrade process doens't stop (like mysql upgrade issue). It goes siletly > forward, and breaks all my system. > > You think. this is normal behavior? No i don't. Normal behavior are > documented on man page emerge(1). * You should make sure to rebuild all your C++ packages when * upgrading between different versions of gcc. For example, * when moving to gcc-3.4 from gcc-3.3, emerge gentoolkit and run: * # revdep-rebuild --library libstdc++.so.5 * For more information on the steps to take when upgrading * from gcc-3.3 please refer to: * http://www.gentoo.org/proj/en/base/x86/gcc-upgrading-guide.xml The above is a snip of einfo you get when upgrading gcc - just for the record.