Gentoo Archives: gentoo-amd64

From: Ian Hastie <ianh@××××××××××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] broken (32bit) glibc ?
Date: Sat, 06 Aug 2005 02:00:12
Message-Id: 20050806025752.0958cb89@iahastie.local.net
In Reply to: [gentoo-amd64] broken (32bit) glibc ? by ViNiL
1 On Fri, 05 Aug 2005 12:20:35 +0200
2 ViNiL <vinil@×××××××.cz> wrote:
3
4 > Hello!
5 >
6 > After upgrading glibc to 2.3.5-r1, I am no longer able to run 32bit
7 > binaries. The error is: "Accessing a corrupted shared library" I guess
8 > the 32bit linker is broken (is it ok if this file is stripped?)
9 >
10 > What's more. I cannot compile any other glibc, now. It ends with:
11 > configure: error: cannot compute sizeof (long double), 77
12 > ./conftest: Accessing a corrupted shared library
13 >
14 > I have 32bit emul enabled in kernel.
15 >
16 > Any advice?
17
18 This sounds like a problem that I had once with an early glibc-2.3.5.
19 It was that the soft link at /lib/ld-linux.so.2 was set wrongly.
20 Firstly this is what you should get.
21
22 # ls -l /lib/ld-linux.so.2
23 lrwxrwxrwx 1 root root 22 Jul 25 01:11 /lib/ld-linux.so.2 ->
24 ../lib32/ld-linux.so.2
25
26 If you don't then just do this
27
28 # rm /lib/ld-linux.so.2
29 # ln -s ../lib32/ld-linux.so.2 /lib/ld-linux.so.2
30 # ldconfig
31
32 That should fix the problem.
33
34 --
35 Ian.
36
37 EOM
38 --
39 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] broken (32bit) glibc ? ViNiL <vinil@×××××××.cz>