Hello Alex,

Could you send the output of:
  $ ls -l /tools/bin/bash
  $ /tools/bin/bash --version
Might be a permissions problem.

Also are you running the 'chroot' command as the root user?


Thanks,
Michael


On Fri, 2012-12-14 at 19:22 -0500, Alexander Spitzer wrote:
> Hello all,
> 
> 
> I am on section 6.4, entering the chroot environment, in LFS Book 7.2
> and when i attempt to chroot I get the following error:
> /tools/bin/env: /tools/bin/bash: No such file or directory
> 
> 
> This seems to be not too rarely encountered problem but all
> the diagnostic checks that I've found seem to be okay:
> 
> 
> The sanity check gives the following:
> [Requesting program interpreter: /tools/lib64/ld-linux-x86-64.so.2]
> 
> 
> Running readelf -e /tools/bin/env | grep interpreter gives the
> following:
> [Requesting program interpreter: /tools/lib64/ld-linux-x86-64.so.2]
> 
> 
> I read about a "specs" patch for gcc that is related to this problem,
> but I could not find it in this version of the book. I could not find
> a specs file in the host directory either.
> 
> 
> This problem is very bizarre to me because there is definitely a bash
> binary in /tools/bin.
> 
> 
> If anyone can point me in the right direction or try to help me
> understand what is going on, that would be great.
> 
> 
> Thanks,
> Alex

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to