On Fri, 2012-12-14 at 19:22 -0500, Alexander Spitzer wrote:
> Hello all,
> 
> 
> I am on section 6.4, entering the chroot environment, in LFS Book 7.2
> and when i attempt to chroot I get the following error:
> /tools/bin/env: /tools/bin/bash: No such file or directory

"No such file or directory" doesn't always refer to the actual program
you ran (/tools/bin/bash) - it sometimes means the interpreter for the
program can't be found. If you use the same readelf command
on /tools/bin/bash, what does it tell you the interpreter is for that
program? And does it exist?

Also, what happens if you try running /tools/bin/bash from outside the
chroot, instead of inside it? Does it work there?


Not quite the same as your case, but I've trying to adapt my LFS scripts
to be a pure-64 system (i.e no need for a lib64 symlink to lib), and was
seeing this kind of error from stuff linked to an interpreter in the
non-existent /lib64.


Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to