Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] Bad emerge "libstdc++..." corrupted system. How do I undo that?

58 views
Skip to first unread message

stony.d...@exgate.tek.com

unread,
Sep 9, 2004, 4:40:09 PM9/9/04
to
I was trying to install some EDA tools for Linux, Debussy, and Synopsys VCS
to be specific. They are supported under RedHat. I installed them and they
wanted a file, "libstdc++-libc6.2-2.so.3". So, thinking I could work around
that, I did "emerge -s stdc++". That listed:
sys-libs/libstdc++-v3 [ Masked ]

So, I did the ACCEPT_KEYWORDS=~x86 emerge stdc++ and it installed. I found
that it did not give me the file I needed from above. After hacking and
copying for a while, I gave up. I did an "emerge -C stdc++" to undo what I
did. I thought I was done then, but since, things have started to fail.
Since then I had to force an emerge of glibc which the emerge proposed I
should not do just to complete an "emerge -u world". After that, Ximian
Evolution stopped working with errors all relating to GNOME and CORBA. I
then decided it would be a good idea to "emerge sync" and "emerge -u world"
again, hoping for the best. Now the "emerge -u world" is failing on
package:
postgresql-7.4.5

With the following error:
./conftest: error while loading shared libraries: libtermcap.so.2: cannot
open shared object file: No such file or directory

Evolution is still broken too. I don't know if what I am seeing is
something I caused, a broken update, or what. Help?

Stony

--
gento...@gentoo.org mailing list

Heiko Wundram

unread,
Sep 10, 2004, 2:10:06 AM9/10/04
to
Am Donnerstag, 9. September 2004 22:36 schrieb stony.d...@exgate.tek.com:
> I don't know if what I am seeing is
> something I caused, a broken update, or what. Help?

Try reemerging gcc...

libstdc++-v3 is only meant as a fallback for those people who install gcc
3.4.x, which provides libstdc++-v4; all older gccs supply the libraries
needed for libstdc++-v3. Probably what happened: gcc installed those
libraries, libstdc++-v3 installed over them (that's why it's hardmasked,
AFAIK), you unmerged libstdc++-v3, which deleted the libraries (because they
were from the second install, gcc's files were silently overwritten), and now
GNOME (which requires the C++ libraries which libstdc++-v3 or gcc provide)
just barfs at you.

Hope this helps!

Heiko.

--
gento...@gentoo.org mailing list

Mariusz Pekala

unread,
Sep 10, 2004, 3:50:07 AM9/10/04
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

stony.d...@exgate.tek.com wrote:
> [...] Now the "emerge -u world" is failing on


> package:
> postgresql-7.4.5
>
> With the following error:
> ./conftest: error while loading shared libraries: libtermcap.so.2: cannot
> open shared object file: No such file or directory
>

That one error is easy to fix. Run ldconfig and it will recreate missing
link. Or run: ln -s libtermcap.so.2.0.8 /lib/libtermcap.so.2

I assume jou do have some /lib/libtermcap* files. Right?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBQVrKlA+/TuXKaj0RAo3BAJ9tsmF8NR/kAPo0R1eSe94O5ety2QCfTpDY
S0P1XP5h8TXihZa4ak//R4A=
=1s2H
-----END PGP SIGNATURE-----

--
gento...@gentoo.org mailing list

Mariusz Pekala

unread,
Sep 10, 2004, 4:20:07 AM9/10/04
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

stony.d...@exgate.tek.com wrote:
> [..] After that, Ximian


> Evolution stopped working with errors all relating to GNOME and CORBA. I
> then decided it would be a good idea to "emerge sync" and "emerge -u
world"

> again, hoping for the best. [...]

One more hint: check some really nice tool: revdep-rebuild
It's part of app-portage/gentoolkit package.
If you run it with -p flag, it will show you packages that have broken
dependencies and need to be reemerged.
You may let it do the rebuilds (remove -p flag) or reemerge by hand. In
the later case remove files ~/.revdep* before you run this tool again.

Disclaimer about "[SPAM]" in my previous reply's topic:
I *do* *disagree* with anti-spam filter on my mail server.
I am not responsible for teaching it. ;)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBQWHTlA+/TuXKaj0RApozAJ9334LiOigBOfWWdnaTMz72zgr4RwCfewms
UPidTJ7K9T5X4CsEU5OHn/o=
=cEsX

0 new messages