Frédéric Fauberteau wrote:
> Hi,
> I'm trying to build a clfs system by following the 1.0.0 version of the
> book instructions. But when I try to entering the chroot environment, I
> obtain this message :
>
> chroot: cannot run command `/tools/bin/env': No such file or directory
>
> I googled and I found it was a host dependance problem. `ldd
> /tools/bin/env` says :
>
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002adc0ca20000)
>
> libc.so.6 => /lib/libc.so.6 (0x00002adc0cb2d000)
>
> /lib/ld-linux-x86-64.so.2 (0x00002adc0c908000)
>
> But `ldd /tools/bin/ar` says for example :
>
> libbfd-2.17.so => /tools/lib/libbfd-2.17.so (0x00002ae640e73000)
>
> libgcc_s.so.1 => /tools/lib/libgcc_s.so.1 (0x00002ae64101a000)
>
> libc.so.6 => /tools/lib/libc.so.6 (0x00002ae641128000)
>
> /lib/ld-linux-x86-64.so.2 (0x00002ae640d5b000)
>
> Some binaries seems linked with my Debian host system. However, I
> followed all instructions ...
> Are you a idea ?
> Thank you.
>
>
I bet your building from an x86 debian to a x86_64 CLFS. You will need
to follow the boot method, chroot will not work going from x86 to x86_64.
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support