|
楼主 |
发表于 2003-4-19 09:35:50
|
显示全部楼层
不好意思,竟然是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/bash
If 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. |
|