On 9/2/07, Boovarahan (Sridhar) <[EMAIL PROTECTED]> wrote: > > lfs live cd rc2032 - chapter 6.4 "entering the chroot environment - > command "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" > > gives the following msg: > > chroot: cannot run command `/tools/bin/env': No such file or directory > > And see this: > root:/# ls -al /tools/bin/env > -rwxr-xr-x 1 root root 13320 Sep 2 13:20 /tools/bin/env
This usually means that something has gone wrong with the toolchain adjustment in Ch. 5. A common issue is that people forget to apply the -specs patch to gcc-pass2. What's the output of this: readelf -l /tools/bin/env | grep interpreter If it says /lib/ld-linux.so.2, then something is wrong and you'll have to go back and redo part of Ch. 5. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
