public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mark Knecht" <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: emerge broken - libstdc++.so.5
Date: Mon, 5 Jun 2006 10:41:32 -0700	[thread overview]
Message-ID: <5bdc1c8b0606051041n785417c2s24c35e67b608f151@mail.gmail.com> (raw)
In-Reply-To: <5bdc1c8b0606051025t123489ecna43db0b60d8907e5@mail.gmail.com>

On 6/5/06, Mark Knecht <markknecht@gmail.com> wrote:
> Hi,
>    I've been working through some updates on my wife's machine and now
> it appears emerge itself has been broken:
>
> dragonfly ~ # emerge -pv bash
> /usr/bin/python: error while loading shared libraries: libstdc++.so.5:
> cannot open shared object file: No such file or directory
> dragonfly ~ #
>
>    gcc and glibc updates were part of what was going on.
>
>    I have some other Gentoo machines here at home if I need to copy something.
>
>    How can I recover?
>
>    First time in 3-4 years of running Gentoo that anything like this
> has happened!
>
> Thanks,
> Mark
>

Like many things in life this pain seems to be somewhat self
inflicted, I suppose. More into.

After emerging gcc-3.4.6 I had troubles with the gcc-config stuff so I
removed gcc-3.3.6. However it appears that removing 3.3.6 removed
libstdc++ also. I updated slocate's database and saw that the only
libraries with that name are gone now:

dragonfly ~ # slocate libstdc++.so.5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5.0.7
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
dragonfly ~ # updatedb
dragonfly ~ # slocate libstdc++.so.5
dragonfly ~ #


More info:

dragonfly ~ # gcc-config -l
 [1] i686-pc-linux-gnu-3.4.6 *
 [2] i686-pc-linux-gnu-3.4.6-hardened
 [3] i686-pc-linux-gnu-3.4.6-hardenednopie
 [4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.4.6-hardenednossp
dragonfly ~ # gcc-config -B
/usr/i686-pc-linux-gnu/gcc-bin/3.4.6
dragonfly ~ # gcc-config -B -L
/usr/i686-pc-linux-gnu/gcc-bin/3.4.6
dragonfly ~ # gcc-config -L
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6
dragonfly ~ # gcc-config -X
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3
dragonfly ~ # gcc-config -E
export PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.4.6:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.6:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin:/opt/firebird/bin"
dragonfly ~ #

It seems that my AMD64 machine has a number of these:
mark@lightning ~ $ slocate libstdc++.so.5
/mnt/gentoo32/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5.0.7
/mnt/gentoo32/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
/mnt/gentoo32/usr/lib/libstdc++-v3/libstdc++.so.5.0.6
/mnt/gentoo32/usr/lib/libstdc++-v3/libstdc++.so.5
/usr/lib64/libstdc++-v3/libstdc++.so.5.0.6
/usr/lib64/libstdc++-v3/libstdc++.so.5
/emul/linux/x86/usr/lib/libstdc++.so.5.0.5
/emul/linux/x86/usr/lib/libstdc++.so.5
mark@lightning ~ $

- Mark
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-06-05 17:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-05 17:25 [gentoo-user] emerge broken - libstdc++.so.5 Mark Knecht
2006-06-05 17:41 ` Mark Knecht [this message]
2006-06-05 17:49   ` [gentoo-user] " leszek
2006-06-05 18:15     ` Teresa and Dale
2006-06-05 18:37     ` Mark Knecht
2006-06-05 18:45       ` Lord Sauron
2006-06-05 19:19         ` Rafael Fernández López
2006-06-05 22:37           ` Lord Sauron
2006-06-05 18:53       ` James Ausmus
2006-06-05 19:04         ` Mark Knecht
2006-06-05 19:09           ` Mark Knecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5bdc1c8b0606051041n785417c2s24c35e67b608f151@mail.gmail.com \
    --to=markknecht@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox