On 3/23/06, Davis Sylvester <[EMAIL PROTECTED]> wrote: > > chroot "$LFS" tools/bin/env -i \ HOME=/root > TERM="$TERM" PS1='\u:\w\$ ' \ > PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ > /tools/bin/bash --login +h > > chroot: cannot run command `/tools/bin/env': No such > file or directory
Most likely, your toolchain is not adjusted and /tools/bin/env is looking for the host dynamic linker. Rerun the sanity check in Ch. 5 Adjusting the Toolchain. If that passes, try this command: readelf -l /tools/bin/env | grep 'ld-linux' It should refer to /tools/lib/ld-linux.so.2, not /lib/ld-linux.so.2. The second one is on the host and cannot be used inside the chroot. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
