public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Richard Fish <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ldconfig breaks my system
Date: Fri, 15 Jul 2005 20:24:51 +0200	[thread overview]
Message-ID: <42D7FF73.1000802@asmallpond.org> (raw)
In-Reply-To: <1121430713.8121.9.camel@malory>

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



      reply	other threads:[~2005-07-15 18:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-15 12:31 [gentoo-user] ldconfig breaks my system Alex Bennee
2005-07-15 18:24 ` Richard Fish [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42D7FF73.1000802@asmallpond.org \
    --to=bigfish@asmallpond.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox