LFS 6.9 Glibc-2.3.6

Dan Nicholson dbn.lists at gmail.com
Fri Aug 18 15:37:01 PDT 2006

On 8/18/06, Scott Castaline <hscast at charter.net> wrote:
> configure:2634: gcc --version </dev/null >&5
> ../glibc-2.3.6/configure: line 2635: /tools/bin/gcc: No such file or
> directory
> configure:2637: $? = 127

So, does /tools/bin/gcc exist? If so, what happens when you run
`/tools/bin/gcc --version'?

I suspect that the gcc in tools is using the wrong dynamic linker.
This would go back the the Toolchain Adjustment in Ch. 5. Run this

$ readelf -l /tools/bin/gcc | grep interpreter

If the output says /lib/ld-linux.so.2, then you're in trouble because
that dynamic linker doesn't exist yet inside the chroot. It should be
/tools/ld-linux.so.2. What do you get?


More information about the lfs-support mailing list