* [gentoo-user] ldconfig breaks my system
@ 2005-07-15 12:31 Alex Bennee
2005-07-15 18:24 ` Richard Fish
0 siblings, 1 reply; 2+ messages in thread
From: Alex Bennee @ 2005-07-15 12:31 UTC (permalink / raw
To: Gentoo AMD64, Gentoo Users
Hi,
Applogies for the cross-post. I'm unsure if this is and amd64 specific
problem or a more general b0rkage.
I've posted about my failing glibc emerges before:
http://thread.gmane.org/gmane.linux.gentoo.user/114627
I think I've narrowed it down to ldconfig running during the emerge. In
fact at the moment any time I run ldconfig it breaks the system so that
I cannot spawn any new shells (they segfault straight away). I can
restore my system by untaring a rescue glibc binary.
Can anyone give me any hints on how to diagnose the problem with
ldconfig and why things stop working when its done?
I'm currently building a parallel world on a second partition (in a
chrooted environment) to see if there are any differences between the
two setups (i.e a subtle breakage occured and was never picked up).
--
Alex, homepage: http://www.bennee.com/~alex/
It destroys one's nerves to be amiable every day to the same human
being. -- Benjamin Disraeli
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] ldconfig breaks my system
2005-07-15 12:31 [gentoo-user] ldconfig breaks my system Alex Bennee
@ 2005-07-15 18:24 ` Richard Fish
0 siblings, 0 replies; 2+ messages in thread
From: Richard Fish @ 2005-07-15 18:24 UTC (permalink / raw
To: gentoo-user
Alex Bennee wrote:
>Hi,
>
>Applogies for the cross-post. I'm unsure if this is and amd64 specific
>problem or a more general b0rkage.
>
>I've posted about my failing glibc emerges before:
>
>http://thread.gmane.org/gmane.linux.gentoo.user/114627
>
>I think I've narrowed it down to ldconfig running during the emerge. In
>fact at the moment any time I run ldconfig it breaks the system so that
>I cannot spawn any new shells (they segfault straight away). I can
>restore my system by untaring a rescue glibc binary.
>
>
Hmm, don't have an AMD64 yet (waiting for the first dual-core laptop to
become available!), but this certainly sounds like a 32-bit vs 64-bit
library issue.
Take a look at /etc/ld.so.conf. This file defines the library search
path for your system, and ldconfig takes this file and generates
/etc/ld.so.cache from it. I suspect removing the entries for the 32-bit
library directories, or possibly just moving them to the end of the
list, would solve the problem for the majority of the programs. You may
run into trouble with some closed source 32-bit stuff though. (VMWare,
Adobe Acrobat, etc)
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-15 18:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-15 12:31 [gentoo-user] ldconfig breaks my system Alex Bennee
2005-07-15 18:24 ` Richard Fish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox