|
发表于 2003-7-7 12:00:07
|
显示全部楼层
LFS FAQ
7.1.1. No such file or directory
Examples of this error are:
/usr/bin/env: /static/bin/bash: No such file or directory
gcc: No such file or directory
They usually occur when trying to enter (or shortly after entering) chroot in Chapter 6, and are caused by trying to run a dynamically linked binary at that point. You can check by running file on the binary. For example:
file $LFS/static/bin/bashIf it doesn't say something about "statically linked", there is a problem.
The solution is to go back to Chapter 5, delete and re-extract the source if you haven't already, and recompile the affected package. And this time, take extra care with the instructions for compiling it statically. |
|