LFS 6.2 Chapter 6 step 6.9 glibc-2.3.6 configure can't link to gcc

Dan Nicholson dbn.lists at gmail.com
Sun Aug 20 11:04:07 PDT 2006


On 8/20/06, Mike Murfin <mike_murfin at hotmail.com> wrote:
>
> Thanks for getting back to me.
>
> ldd /tools/bin/gcc   gives :
>
> /tools/bin/ldd: line 124: /tools/bin/gcc: No such file or directory

This is because gcc itself is trying to use the dynamic linker
/lib/ld-linux.so.2 instead of the one in /tools/lib. Everything built
after gcc-pass2 has the correct dynamic linker, but everything built
between Adjusting the Toolchain and gcc-pass2 is wrong. The toolchain
adjustment was not done correctly. Please read this thread:

http://linuxfromscratch.org/pipermail/lfs-support/2006-August/031316.html

--
Dan



More information about the lfs-support mailing list