/usr/bin/env

Paul Abraham Paul.Abraham at consultjoa.com
Tue Mar 5 09:20:02 PST 2002


Franklin R Grove III [mailto:frg104 at psu.edu] wrote:
> I am receiving the message "chroot: cannot execute/usr/bin/env:
> no such file or directory"  The binary file does exist in /usr/bin.
> I was able to chroot yesterday.  I can't think of anything that I
> would have done to cause this error.  Any ideas?

Assuming the line you are trying to execute is

cd $LFS &&
chroot $LFS /usr/bin/env -i HOME=/root TERM=$TERM /bin/bash --login

in chapter 6, have you got the LFS environment variable set?

Paul.
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list