chroot: cannot run command LFS 6.1.1 Ch6

Pawel cwieta4 at
Fri Feb 24 05:33:23 PST 2006

I have this problem:
 When i try to chroot into /mnt/lfs directory from root acount a have
this message:

chroot: cannot run command `/tools/bin/env': No such file or directory

So i go to Faq and find,  I have to check dynamic linker so i make:

echo 'main(){}' > dummy.c
cc dummy.c
readelf -l a.out | grep ': /tools'

when i am root answer is nothing!
when i am on lfs acount asnwer is
 [Requesting program interpreter: /tools/lib/]

Perhaps this is something wrong on root acount but I dont
know what :(
Onle from root acount I can use chroot .
Please help.

More information about the lfs-support mailing list