I decided to build LFS (6.6) on an old spare laptop, running the LFS LiveDVD. Everything up to now has gone great, no problems apart from the normal typing errors and subsequent head scratching. But now I'm running into one that I cannot find a solution for.
I'm in my chroot environment, running as root, all is going well as shown after:
cp -v ../glibc-2.11.1/iconvdata/gconv-modules iconvdata
make -k check 2>&1 | tee glibc-check-log
grep Error glibc-check-log
in the error log:
root:/sources/glibc-build# grep Error glibc-check-log
make: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
Then when running the make install I get the following after quite some time:
/tools/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: : No such file: No such file or directory
collect2: ld returned 1 exit status
Execution of gcc failed!
The script has found some problems with your installation!
Please read the FAQ and the README file and check the following:
- Did you change the gcc specs file (necessary after upgrading from
- Are there any symbolic links of the form libXXX.so to old libraries?
Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are wrong,
libm.so should point to the newly installed glibc file - and there should be
only one such link (check e.g. /lib and /usr/lib)
You should restart this script from your build directory after you've
fixed all problems!
Btw. the script doesn't work if you're installing GNU libc not as your
make: *** [install] Error 1
make: Leaving directory `/sources/glibc-2.11.1'
make: *** [install] Error 2
As far as I can tell, everything is in place, no weird things, but I cannot get past this point. Can anyone shed some light please?