Chapter 6.7, LFS 6.3
dbn.lists at gmail.com
Fri Oct 5 10:24:48 PDT 2007
On 10/5/07, Elias Zoby <ezoby at click21.com.br> wrote:
> root:/sources/linux-184.108.40.206# sed -i '/scsi/d' include/Kbuild
> root:/sources/linux-220.127.116.11# make mrproper
> /sources/linux-18.104.22.168/scripts/gcc-version.sh: line 11: /tools/bin/gcc: No such file or directory
> But I have gcc on $LFS/tools/bin.
Are the permissions on /tools/bin/gcc OK?
I believe what probably happened is that the Ch. 5 toolchain
adjustment didn't go correctly and /tools/bin/gcc is looking for the
host's dynamic linker at /lib/ld-linux.so.2. That doesn't exist inside
the chroot yet. Check gcc's intepreter:
$ readelf -l /tools/bin/gcc | grep interpreter
[Requesting program interpreter: /tools/lib/ld-linux.so.2]
More information about the lfs-support