Gentoo Archives: gentoo-amd64

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

Replies

Subject Author
Re: [gentoo-amd64] ldconfig breaks my system Zac Medico <zmedico@×××××.com>