Can't find /tools/bin/bash for initial chroot, and /tools/bin/bash is bad too.
jeremy at jutley.org
Sat Feb 19 21:11:15 PST 2005
Steven Pasternak wrote:
>/tools/bin/env: /tools/bin/bash: No such file or directory
>[root at localhost steven]#
Looks like your chapter 5 bash installation may be incorrect.
This is discussed in the FAQ, but I'll give a synopsis for you here as well.
Try this command outside your chroot:
readelf -l /tools/bin/bash | grep interpreter
the output should read something like:
Requesting program interpreter: /tools/lib/ld-linux.so.2
If it doesn't, then something happened that caused bash to link to host
libs instead of your new libs in /tools, and you'll need to rectify that.
More information about the lfs-support