Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] udev and glibc update
Date: Fri, 16 Feb 2007 08:33:37
Message-Id: 200702160926.00965.bo.andresen@zlin.dk
In Reply to: [gentoo-user] udev and glibc update by Luigi Pinna
1 On Friday 16 February 2007 08:25:45 Luigi Pinna wrote:
2 > Hi,
3 > I gave a sync 2 days ago and my world update had that output:
4 > # emerge -upvD world
5 >
6 > These are the packages that would be merged, in order:
7 >
8 > Calculating world dependencies |
9 >
10 > !!! Ebuilds for the following packages are either all
11 > !!! masked or don't exist:
12 > sys-fs/raidtools
13
14 You should probably fix that (there's thread on gentoo-dev@ about sys-fs/mdadm
15 superceeding raidtools...).
16
17 [SNIP]
18 > RANLIB libudev.a
19 > make: x86_64-pc-linux-gnu-ranlib: Kommando nicht gefunden
20 > make: *** [libudev.a] Fehler 127
21 [SNIP]
22 > support... /var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/configure:
23 > line 5513: readelf: command not found
24 > no
25 > configure: error: Need linker with .init_array/.fini_array support.
26
27 These belong to binutils. Most likely your binutils config is just broken
28 meaning /usr/bin/{ranlib,readelf} are dangling symlinks (or pointing to
29 dangling symlinks...) rather that pointing to the correct location.
30
31 # ls -l /usr/bin/{ranlib,readelf}
32 lrwxrwxrwx 1 root root 24 2006-12-02 02:20 /usr/bin/ranlib -> i686-pc-linux-gnu-ranlib
33 lrwxrwxrwx 1 root root 25 2006-12-02 02:20 /usr/bin/readelf -> i686-pc-linux-gnu-readelf
34 # ls -l /usr/bin/i686-pc-linux-gnu-{ranlib,readelf}
35 lrwxrwxrwx 1 root root 33 2006-12-02 02:20 /usr/bin/i686-pc-linux-gnu-ranlib -> /usr/i686-pc-linux-gnu/bin/ranlib
36 lrwxrwxrwx 1 root root 34 2006-12-02 02:20 /usr/bin/i686-pc-linux-gnu-readelf -> /usr/i686-pc-linux-gnu/bin/readelf
37
38 There's a good chance that you can fix this with binutils-config.
39
40 # binutils-config -l
41 [1] i686-pc-linux-gnu-2.16.1
42 [2] i686-pc-linux-gnu-2.17 *
43 # binutils-config 2
44 * Switching to i686-pc-linux-gnu-2.17 ... [ ok ]
45 [...]
46 # source /etc/profile
47
48 Even if the right binutils is selected, reselecting it may fix it..
49
50 --
51 Bo Andresen