The path to the dynamic linker
matthias.gallant at telenet.be
Thu May 26 12:58:42 PDT 2005
I'm trying to build my first LFS system (from a Gentoo host system), and
stubled on a serious error in "6.11. Glibc-2.3.4-20040701":
../glibc-2.3.4-20040701/configure --prefix=/usr \
--disable-profile --enable-add-ons=nptl --with-tls \
--with-__thread --enable-kernel=2.6.0 --without-cvs \
fails with some " /tools/bin/gcc: No such file or directory" errors.
For the FAQ I learned that this is due to the path to the dynamic linker which
is still /lib/ld-linux.so.2 instead of /tools/lib/ld-linux.so.2.
This is indeed the case:
root:/sources/glibc-build# readelf -l /tools/bin/gcc | grep interpreter
[Requesting program interpreter: /lib/ld-linux.so.2]
The FAQ also suggests that this is due to forgetting to apply the "Specs
patch" on the "5.13. GCC-3.4.1 - Pass 2". I'm sure I did apply the patches
because when I tried to apply them again, I got only "Reversed (or previously
applied) patch detected! Skipping patch." messages.
Personally I am suspecting something went wrong with the "SED command" in
"5.9. Adjusting the Toolchain", but this is nothing more than a gut
Could any of you tell me were things started going wrong ? From what point
should I restart ?
More information about the lfs-support