Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

Bad emerge "libstdc++..." corrupted system. How do I undo that?

 

 

Gentoo user RSS feed   Index | Next | Previous | View Threaded


stony.d.yakovac at exgate

Sep 9, 2004, 1:36 PM

Post #1 of 3 (69 views)
Permalink
Bad emerge "libstdc++..." corrupted system. How do I undo that?

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

--
gentoo-user [at] gentoo mailing list


heikowu at ceosg

Sep 9, 2004, 11:09 PM

Post #2 of 3 (85 views)
Permalink
Re: Bad emerge "libstdc++..." corrupted system. How do I undo that? [In reply to]

Am Donnerstag, 9. September 2004 22:36 schrieb stony.d.yakovac [at] exgate:
> 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.

--
gentoo-user [at] gentoo mailing list


skoot at qi

Sep 10, 2004, 1:12 AM

Post #3 of 3 (68 views)
Permalink
Re: Bad emerge "libstdc++..." corrupted system. How do I undo that? [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

stony.d.yakovac [at] exgate 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
-----END PGP SIGNATURE-----



--
gentoo-user [at] gentoo mailing list

Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.