after the latest Portage updates, "AUTOCLEAN=yes" was added to /etc/make.globals. During use of my system I started getting this error: bash-2.05b# emerge -s mutt python2.2: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory bash-2.05b# I looked in /var/log/emerge.log and saw the following: 1040423936: --- AUTOCLEAN: Nothing unmerged. 1040423949: >>> unmerge success: sys-apps/texinfo-4.2-r5 1040423953: >>> unmerge success: sys-devel/binutils-2.13.90.0.4 1040423954: >>> unmerge success: sys-apps/portage-2.0.36 1040423954: >>> unmerge success: sys-apps/portage-2.0.45-r3 1040423984: >>> unmerge success: sys-devel/gcc-3.2-r1 1040423988: >>> unmerge success: sys-devel/gettext-0.11.1 1040424002: >>> unmerge success: sys-libs/ncurses-5.2.20020511-r2 1040424027: >>> unmerge success: sys-libs/glibc-2.2.5-r6 1040424030: >>> unmerge success: sys-apps/baselayout-1.8.3 Why in the world would this happen?
In any case, what can I do to restore those packages. I can't emerge them anew.
Very probably a corrupted counter. You can grab the GRP packages from http://www.gentoo.org/dyn/experimental/ I think. Or have someone make you those packages. Just untar the tbz2's to /. Then emerge each tarball.
Hmmmmm... Wait... Your glibc wasn't unmerged... the old version was... Different issue then. Get glibc and gcc packages and then rebuild world.
I checked the counters. That isn't it. yes, you are right, glibc 2.3.1-r2 is installed. And in the reasonable light of day, I see that gcc 3.2.1 is installed. ozomatli root # emerge gcc python2.2: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory ozomatli root # Okay, so I need to get gcc and glibc binary packages. where can I find these packages?
looks like all I need to do is bash#ln -s /usr/lib/libstdc++.so.2.8.0 /usr/lib/libstdc++.so.5 bash#ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libgcc_s.so.1 /usr/lib/libgcc_s.so.1 bash#for bin in `ls /usr/i686-pc-linux-gnu/bin`; do ln -s /usr/i686-pc-linux-gnu/bin/$bin /usr/bin/$bin; done bash#emerge gcc bash#emerge glibc then rebuild world
If there is anything left to this, reopen.