Article 5FV9J 10.1 chroot issue with /usr/bin/env : No such file or directory

10.1 chroot issue with /usr/bin/env : No such file or directory

by
goldennuggets
from LinuxQuestions.org on (#5FV9J)
I've been working my way through 10.1
When it came time to chroot, I got the following error:
Code:chroot "$LFS" /usr/bin/env HOME=/root TERM="$TERM" PS1='(lfs chroot) \u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/bash --login +h
chroot: failed to run command /usr/bin/env': No such file or directorySo, after some research, I finally came across this:
http://www.linuxfromscratch.org/lfs/...y-no-such-file
I ran the following command with the output:
Code:readelf -l /mnt/lfs/usr/bin/env | grep interpreter
[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]The FAQ doesn't really explain what needs done at this point, since mine does not point to "/tools/lib/ld-linux.so.2" and the FAQ says that it doesn't exist yet.

I'm confused and would appreciate a little help, clarification, and ideas on how to correct the issue.latest?d=yIl2AUoC8zA latest?i=ZatJYsFhH58:1yRDcj5z1OA:F7zBnMy latest?i=ZatJYsFhH58:1yRDcj5z1OA:V_sGLiP latest?d=qj6IDK7rITs latest?i=ZatJYsFhH58:1yRDcj5z1OA:gIN9vFwZatJYsFhH58
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments