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
On Sun, 2005-07-17 at 18:59 -0700, Zac Medico wrote:
> Alex Bennee wrote: > > > > Yes that one. I've been unable to succesfully upgrade to 2.3.5 without > > hitting the failure. However I left my system building a fresh partition > > from scratch over the weekend - it managed to upgrade to 2.3.5 without a > > problem. > > > > Something has obviously broken on my main partition that is preventing > > the update. Perhaps the difference in explain things? > > > > So, your system is still broken? You can use quickpkg to make a binary package > from the glibc that you built on the fresh partition. Try to install that binary package. > If that doesn't work then you can do it by brute force: untar the binary package directly > onto your broken system and run ldconfig.
I wasn't able to install the binary package properly (as ldconfig is called during the emerge process). However as I was stracing the ldconfig output to compare with the working setup I realised I wasn't logging stderr so hit Ctrl-C and restarted ldconfig. This seems to of "unstuck" the ldconfig failure and I have been able to run ldconfig without breaking things since. I've done a proper src emerge of glibc on a chrooted in my original partiton and everything seems to be working ok now. The config has been updated during the env-update so I wonder if it was a subtle breakage in the config that was causing the failure? malory etc # diff -ub ldconfig.backup/ --- 2005-07-17 22:41:47.000000000 +0100 +++ ldconfig.backup/ 2005-06-19 23:31:13.000000000 +0100 @@ -10,9 +10,7 @@ /usr/lib32 /usr/local/lib32 /usr/x86_64-pc-linux-gnu/lib -/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3 -/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2 -/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2/32 +/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/. /usr/lib/MozillaFirefox /usr/lib/mozilla /usr/lib -- Alex, homepage: If you had better tools, you could more effectively demonstrate your total incompetence. -- gentoo-amd64@g.o mailing list


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