Can't find commads in chroot environment
stosss at gmail.com
Mon Mar 22 00:37:50 PDT 2010
On Mon, Mar 22, 2010 at 1:56 AM, Caramon Majere <caramon.su at gmail.com> wrote:
> I have accomplished all steps in LFS-BOOK-6.3 until 6.7, when I compiled
> Linux API header in chroot environment.
> The error message is sample and clearly: xargs is not here.Howerver it is in
> the path /tools/bin,while the environment PATH is set to /tools/bin.
> I have installed xargs in step 5.18.It seems that I can involed all commands
> installation from Findutils except in the chroot environment.
> I can involved find,updatedb in chroot environment.But when I did it with
> xargs and locate,an message displayed "/tools/bin/xargs: No such file".
> what's wrong with it?It's only happens in chroot environment.
Logout of the chroot
Go back to the beginning of chapter 6 and make sure you do the steps
in 6.2 and 6.4 exactly as they are in the book. You missed something.
I did this. If you do those steps correctly without missing anything
you won't have the problem you are having now.
More information about the lfs-support