Gentoo Archives: gentoo-amd64

From: Zac Medico <zmedico@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] ldconfig breaks my system
Date: Mon, 18 Jul 2005 07:49:54
Message-Id: 42DB5ED6.7090107@gmail.com
In Reply to: Re: [gentoo-amd64] ldconfig breaks my system by Alex Bennee
1 Alex Bennee wrote:
2 > On Sun, 2005-07-17 at 18:59 -0700, Zac Medico wrote:
3 >
4 >>Alex Bennee wrote:
5 >>
6 >>>Yes that one. I've been unable to succesfully upgrade to 2.3.5 without
7 >>>hitting the failure. However I left my system building a fresh partition
8 >>>from scratch over the weekend - it managed to upgrade to 2.3.5 without a
9 >>>problem.
10 >>>
11 >>>Something has obviously broken on my main partition that is preventing
12 >>>the update. Perhaps the difference in ld.so.conf explain things?
13 >>>
14 >>
15 >>So, your system is still broken? You can use quickpkg to make a binary package
16 >>from the glibc that you built on the fresh partition. Try to install that binary package.
17 >>If that doesn't work then you can do it by brute force: untar the binary package directly
18 >> onto your broken system and run ldconfig.
19 >
20 >
21 > I wasn't able to install the binary package properly (as ldconfig is
22 > called during the emerge process). However as I was stracing the
23 > ldconfig output to compare with the working setup I realised I wasn't
24 > logging stderr so hit Ctrl-C and restarted ldconfig.
25 >
26 > This seems to of "unstuck" the ldconfig failure and I have been able to
27 > run ldconfig without breaking things since. I've done a proper src
28 > emerge of glibc on a chrooted in my original partiton and everything
29 > seems to be working ok now.
30 >
31 > The config has been updated during the env-update so I wonder if it was
32 > a subtle breakage in the config that was causing the failure?
33 >
34 > malory etc # diff -ub ld.so.conf ldconfig.backup/ld.so.conf
35 > --- ld.so.conf 2005-07-17 22:41:47.000000000 +0100
36 > +++ ldconfig.backup/ld.so.conf 2005-06-19 23:31:13.000000000 +0100
37 > @@ -10,9 +10,7 @@
38 > /usr/lib32
39 > /usr/local/lib32
40 > /usr/x86_64-pc-linux-gnu/lib
41 > -/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3
42 > -/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2
43 > -/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2/32
44 > +/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/.
45 > /usr/lib/MozillaFirefox
46 > /usr/lib/mozilla
47 > /usr/lib
48 >
49 >
50
51 I don't know. See if you can break it again, then we'll know for sure 8-).
52
53 Zac
54 --
55 gentoo-amd64@g.o mailing list