Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] chroot: cannot run command `/bin/bash'
Date: Sat, 22 Jul 2006 13:02:00
Message-Id: 1153572671.21404.3.camel@rattus
In Reply to: [gentoo-user] chroot: cannot run command `/bin/bash' by oskar kapala
1 moriah ~ # ldd /bin/bash
2 linux-gate.so.1 => (0xffffe000)
3 libncurses.so.5 => /lib/libncurses.so.5 (0xb7f28000)
4 libdl.so.2 => /lib/libdl.so.2 (0xb7f23000)
5 libc.so.6 => /lib/libc.so.6 (0xb7dec000)
6 /lib/ld-linux.so.2 (0xb7f84000)
7 moriah ~ # equery belongs /lib/libc.so.6
8 [ Searching for file(s) /lib/libc.so.6 in *... ]
9 sys-libs/glibc-2.3.6-r4 (/lib/libc.so.6 -> libc-2.3.6.so)
10 moriah ~
11
12 so bash needs glibc!
13
14 Your best bet would be to locate a glibc bin package (from the
15 livecd?)and untar it in / of your system, then it should work enough to
16 rebuild properly. You could just copy in the missing libs as you
17 discover them, but thats probably going to be worse :(
18
19 BillK
20
21
22 On Sat, 2006-07-22 at 13:45 +0200, oskar kapala wrote:
23 > Hi,
24 >
25 > I unmerged glibc, I know it's stupid, by I did it. I know how to solve
26 > the problem, but sth is wrong with chroot:
27
28 --
29 gentoo-user@g.o mailing list