From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GlCTL-0005FB-DX for garchives@archives.gentoo.org; Fri, 17 Nov 2006 22:46:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAHMjEDh025312; Fri, 17 Nov 2006 22:45:14 GMT Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.198]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAHMjDj9030823 for ; Fri, 17 Nov 2006 22:45:13 GMT Received: by nz-out-0102.google.com with SMTP id r28so599006nza for ; Fri, 17 Nov 2006 14:45:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=dX6tZ5N8UusOran/0imq+5J4J/BpeJ8HQLSce58cs0juzAigwLRkR5I8EmV6hvHALfhz0sOLZ3MU1I6DDV6JKMoyj3YX8kpfOwmaqOZBssbuIW48y/f2jH80lBl4uXdTpTz288DU3IVCprKr7UlEY4irq34Yt/fRoZ2zoMG4R08= Received: by 10.65.38.7 with SMTP id q7mr3258776qbj.1163803510595; Fri, 17 Nov 2006 14:45:10 -0800 (PST) Received: by 10.65.228.12 with HTTP; Fri, 17 Nov 2006 14:45:10 -0800 (PST) Message-ID: <789d27b10611171445i627118d2raaabf2e2cd16cba1@mail.gmail.com> Date: Fri, 17 Nov 2006 22:45:10 +0000 From: "Hanni Ali" To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] unable to chroot In-Reply-To: <200611171715.27052.vapier@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_68616_11761225.1163803510355" References: <200611171435.44844.corey@bitworthy.net> <200611171715.27052.vapier@gentoo.org> X-Archives-Salt: ccc5ad06-d6b4-4391-acac-f4927c8dbd18 X-Archives-Hash: 9d93876e0c9be8e9c50e529916c13da3 ------=_Part_68616_11761225.1163803510355 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline A few people have been having problems with this recently could I ask what version of crossdev you are using I just checked a new build and I've hit the same problem On 17/11/06, Mike Frysinger wrote: > > On Friday 17 November 2006 16:35, Corey wrote: > > scanner gentoo # ./bin/bash --version > > GNU bash, version 3.1.17(1)-release (i686-pc-linux-gnu) > > Copyright (C) 2005 Free Software Foundation, Inc. > > scanner gentoo # chroot /mnt/gentoo/ /bin/bash > > chroot: cannot run command `/bin/bash': No such file or directory > > assuming / is glibc and /mnt/gentoo is uclibc, this looks like the > bin/bash is > incorrectly linked against glibc > > try running `readelf -d bin/bash` and make sure it is linked against > uClibc > libs > -mike > > > -- E-mail: hanni.ali@gmail.com Mobile: 07985580147 Website: www.ainkaboot.co.uk ------=_Part_68616_11761225.1163803510355 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline A few people have been having problems with this recently

could I ask what version of crossdev you are using I just checked a new build and I've hit the same problem

On 17/11/06, Mike Frysinger <vapier@gentoo.org> wrote:
On Friday 17 November 2006 16:35, Corey wrote:
> scanner gentoo # ./bin/bash --version
> GNU bash, version 3.1.17(1)-release (i686-pc-linux-gnu)
> Copyright (C) 2005 Free Software Foundation, Inc.
> scanner gentoo # chroot /mnt/gentoo/ /bin/bash
> chroot: cannot run command `/bin/bash': No such file or directory

assuming / is glibc and /mnt/gentoo is uclibc, this looks like the bin/bash is
incorrectly linked against glibc

try running `readelf -d bin/bash` and make sure it is linked against uClibc
libs
-mike





--
E-mail: hanni.ali@gmail.com
Mobile: 07985580147
Website: www.ainkaboot.co.uk ------=_Part_68616_11761225.1163803510355-- -- gentoo-embedded@gentoo.org mailing list