Gentoo Archives: gentoo-amd64

From: Daiajo Tibdixious <daiajo@×××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: gcc wants emul libc.so.6 - solved
Date: Sat, 21 Jan 2006 22:52:30
Message-Id: a4a9bfcb0601211450i66836c65xca11a1dd666dc125@mail.gmail.com
1 On 1/9/06, Domingo Suárez <dsc.ingenieria@×××××.com> wrote:
2 > > > > On Monday 09 January 2006 10:51, Daiajo Tibdixious wrote:
3 > > > > > # emerge --ask --verbose gcc
4 > > > > >
5 > > > > > fails with this error
6 > > > > > /usr/x86_64-pc-linux-gnu/bin/ld: cannot find
7 > > > > > /emul/linux/x86/lib/libc.so.6
8 > >
9 > > Try to find a an amd64 package, not i686. And also take a look at
10 > http://www.gentoo.org/doc/en/gcc-upgrading.xml , there are things to take
11 > care about with libstdc++
12
13 Thanks, that link helped. I was unable to deal with libstdc++ as it
14 also requires gcc 3.4.4,
15 however those instructions changed the error to "cannot comute sizeof
16 (long double)" which the upgrade guide
17 http://wren.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=1&style=printable
18 does mention. In the solution, it goes back to the 2004.3 profile,
19 emerges an emul package, then links 2005.0 and continutes. This
20 changed the error to an inability to resolve -lm.
21
22 Fortunately equery belongs showed the emul package that libm.so
23 belongs to, so I went back to 2004.3, emerged it, linked again to
24 2005.0 and finally gcc 3.4.4 has merged!
25
26 I'm now merging glibc.
27
28 Note that the ugrade guide mentions doing
29 # emerge unmerge emul-linux-x86-glibc
30 I believe (haven't checked yet) that this step is the cause of all my
31 complications,
32 and prevets firefox from working (and any other binary package linked
33 against the emul libraries).
34 I also recommend backing up the 2004.3 profile, as emerge --sync may
35 remove it, and its the easist way to emerge old emul packages.
36
37 --
38 gentoo-amd64@g.o mailing list