public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Kenworthy <billk@iinet.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] chroot: cannot run command `/bin/bash'
Date: Sat, 22 Jul 2006 20:51:11 +0800	[thread overview]
Message-ID: <1153572671.21404.3.camel@rattus> (raw)
In-Reply-To: <a9fb46230607220445j5a1c1f38ic5de992f58c479b@mail.gmail.com>

moriah ~ # ldd /bin/bash
        linux-gate.so.1 =>  (0xffffe000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7f28000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7f23000)
        libc.so.6 => /lib/libc.so.6 (0xb7dec000)
        /lib/ld-linux.so.2 (0xb7f84000)
moriah ~ # equery belongs /lib/libc.so.6
[ Searching for file(s) /lib/libc.so.6 in *... ]
sys-libs/glibc-2.3.6-r4 (/lib/libc.so.6 -> libc-2.3.6.so)
moriah ~ 

so bash needs glibc!

Your best bet would be to locate a glibc bin package (from the
livecd?)and untar it in / of your system, then it should work enough to
rebuild properly.  You could just copy in the missing libs as you
discover them, but thats probably going to be worse :(

BillK


On Sat, 2006-07-22 at 13:45 +0200, oskar kapala wrote:
> Hi,
> 
> I unmerged glibc, I know it's stupid, by I did it. I know how to solve
> the problem, but sth is wrong with chroot:

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-07-22 13:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-22 11:45 [gentoo-user] chroot: cannot run command `/bin/bash' oskar kapala
2006-07-22 12:51 ` William Kenworthy [this message]
2006-07-23  0:39 ` Matthias Bethke
     [not found] <a9fb46230607230520w44fcdca5y7d991cf4bf0f6b0d@mail.gmail.com>
2006-07-23 16:48 ` oskar kapala

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=1153572671.21404.3.camel@rattus \
    --to=billk@iinet.net.au \
    --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