Gentoo Archives: gentoo-embedded

From: Hanni Ali <hanni.ali@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] unable to chroot
Date: Fri, 17 Nov 2006 22:46:11
Message-Id: 789d27b10611171445i627118d2raaabf2e2cd16cba1@mail.gmail.com
In Reply to: Re: [gentoo-embedded] unable to chroot by Mike Frysinger
1 A few people have been having problems with this recently
2
3 could I ask what version of crossdev you are using I just checked a new
4 build and I've hit the same problem
5
6 On 17/11/06, Mike Frysinger <vapier@g.o> wrote:
7 >
8 > On Friday 17 November 2006 16:35, Corey wrote:
9 > > scanner gentoo # ./bin/bash --version
10 > > GNU bash, version 3.1.17(1)-release (i686-pc-linux-gnu)
11 > > Copyright (C) 2005 Free Software Foundation, Inc.
12 > > scanner gentoo # chroot /mnt/gentoo/ /bin/bash
13 > > chroot: cannot run command `/bin/bash': No such file or directory
14 >
15 > assuming / is glibc and /mnt/gentoo is uclibc, this looks like the
16 > bin/bash is
17 > incorrectly linked against glibc
18 >
19 > try running `readelf -d bin/bash` and make sure it is linked against
20 > uClibc
21 > libs
22 > -mike
23 >
24 >
25 >
26
27
28 --
29 E-mail: hanni.ali@×××××.com
30 Mobile: 07985580147
31 Website: www.ainkaboot.co.uk

Replies

Subject Author
Re: [gentoo-embedded] unable to chroot Corey <corey@×××××××××.net>