Gentoo Archives: gentoo-user

From: Nicolai Beuermann <Nicolai.Beuermann@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cleaning up installation / two glibc versions
Date: Thu, 12 Jun 2008 09:43:23
Message-Id: 200806121137.51527.Nicolai.Beuermann@gmx.de
In Reply to: Re: [gentoo-user] Cleaning up installation / two glibc versions by Enrico Weigelt
1 Am Dienstag 10 Juni 2008 schrieb Enrico Weigelt:
2 > IMHO, you've removed exactly that libc (or at least it's dynamic
3 > linker) your binaries are built against, so they can't be executed
4 > anymore - you'r system is unbootable.
5 >
6 > ldd output on these binaries should give your more enlightenment.
7 That´s the situation (again):
8 eix sys-libs/glibc
9 [D] sys-libs/glibc
10 Available versions: (2.2) [P]2.2.5-r10 [P]2.3.2-r12 2.3.5-r3 2.3.6-r4
11 2.3.6-r5 2.4-r4 2.5-r2 2.5-r3 2.5-r4 **2.5.1 ~2.6 2.6.1 ~2.7 ~2.7-r1 ~2.7-r2
12 {build debug erandom gd glibc-compat20 glibc-omitfp hardened
13 linuxthreads-tls multilib nls nptl nptlonly pic profile selinux userlocales
14 vanilla}
15 Installed versions: 2.3.4.20040808-r1(i686-pc-linux-gnu-2.2)(08:48:34
16 08.11.2007)(nls
17 userlocales -build -debug -erandom -hardened -multilib -nptl -pic)
18 2.6.1(2.2)(09:55:15 12.06.2008)
19 (nls -debug -gd -glibc-omitfp -hardened -multilib -profile -selinux -vanilla)
20
21
22 Let´s see if i´ve got what you mean:
23 Because my system didn`t work anymore after removing glibc-2.3.4, with the
24 help of ldd i should find some dependencies.
25 ldd `which bash`
26 linux-gate.so.1 => (0xb7fda000)
27 libncurses.so.5 => /lib/libncurses.so.5 (0xb7f77000)
28 libdl.so.2 => /lib/libdl.so.2 (0xb7f73000)
29 libc.so.6 => /lib/libc.so.6 (0xb7e43000)
30 /lib/ld-linux.so.2 (0xb7fdb000)
31
32 l /lib/libc.so.6
33 lrwxrwxrwx 1 root root 13 12. Jun 09:55 /lib/libc.so.6 -> libc-2.6.1.so
34
35 Within the few commands i´ve checked i was unable to find any dependency to
36 glibc-2.3.4 :-(
37
38
39 thanks
40
41
42 >
43 > If you're sure you've rebuilt all of them and they're still built
44 > against the old glibc, it's might be a toolchain problem. Try to
45 > rebuild gcc and binutils first.
46 >
47 >
48 > BTW: if you don't want to risk an unbootable system, you could have
49 > a try in chroot first.
50 >
51 >
52 > cu
53 > --
54 > ---------------------------------------------------------------------
55 > Enrico Weigelt == metux IT service - http://www.metux.de/
56 > ---------------------------------------------------------------------
57 > Please visit the OpenSource QM Taskforce:
58 > http://wiki.metux.de/public/OpenSource_QM_Taskforce
59 > Patches / Fixes for a lot dozens of packages in dozens of versions:
60 > http://patches.metux.de/
61 > ---------------------------------------------------------------------
62
63
64
65 --
66 mailto: nicolai.beuermann@×××.de
67 http://www.nico-beuermann.de
68 gnupg fingerprint: 56DA 4E32 3A4A 52AC B769 DFC2 BF3E 9805 09BB 4259
69 --
70 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Cleaning up installation / two glibc versions Dirk Heinrichs <dirk.heinrichs.ext@×××.com>