Re: emerge world/system broke gcc downtime null <downtime@do.not.spam.this.address.downtimenull.co m> writes:
> On 2004-02-25, Leif B. Kristensen <junkmail@solumslekt.org> wrote:
> > downtime null wrote:
> >
> >> i started an 'emerge -U world' after not having run it for quite some
> >> time. part of the way through, emerge died trying to install gawk (i
> >> think). after this happened, i started getting errors relating to
> >> libstdc++.so.5 not being found. i got this problem fixed by creating a
> >> link to the new dir to match the '/etc/ld.so.conf' listing. i could
> >> have just added another line, but i didn't.
> >>
> >> but now, when trying to run 'emerge -U system', the first package
> >> fails with :
> >>
> >> checking for C compiler default output... configure: error: C compiler
> >> cannot create executables See `config.log' for more details.
> >
> > as root, run the command ldconfig and see if it helps.
> >
> > This was a problem with a recent update of gcc.
>
> running ldconfig doesn't help.
>
> where would i find the config.log?
It varies depending on the operating system. For gentoo, look in:
/var/tmp/portage/<packagename>/work/<packagename>/
If in doubt, you can do this:
# find /var/tmp/portage -name config.log
and just look at any files that show up. |