got error when install glibc

hi all,
i am play LFS recently. but i can not go on for a an error when install glibc.
here is the error log:

   if test -r /usr/include/gnu/stubs-32.h && cmp -s /mnt/lfs/sources/glibc-build/stubs.h /usr/include/gnu/stubs-32.h; \
	then echo 'stubs.h unchanged'; \
	else /usr/bin/install -c -m 644 /mnt/lfs/sources/glibc-build/stubs.h /usr/include/gnu/stubs-32.h; fi
stubs.h unchanged
rm -f /mnt/lfs/sources/glibc-build/stubs.h
/mnt/lfs/sources/glibc-build/elf/sln /mnt/lfs/sources/glibc-build/elf/symlink.list
rm -f /mnt/lfs/sources/glibc-build/elf/symlink.list
test ! -x /mnt/lfs/sources/glibc-build/elf/ldconfig || LC_ALL=C LANGUAGE=C \
	  /mnt/lfs/sources/glibc-build/elf/ldconfig  \
				       /lib /usr/lib
CC="gcc" /usr/bin/perl scripts/test-installation.pl /mnt/lfs/sources/glibc-build/
/usr/bin/ldd: line 126: /tmp/test-prg546: cannot execute binary file
Library libBrokenLocale is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libBrokenLocale.so?
Library libnss_files is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnss_files.so?
Library libnss_nisplus is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnss_nisplus.so?
Library libcrypt is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libcrypt.so?
Library libresolv is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libresolv.so?
Library libnss_dns is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnss_dns.so?
Library libnss_compat is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnss_compat.so?
Library librt is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link librt.so?
Library libpthread is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libpthread.so?
Library libnsl is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnsl.so?
Library libm is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libm.so?
Library libcidn is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libcidn.so?
Library libc is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libc.so?
Library libutil is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libutil.so?
Library libanl is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libanl.so?
Library libnss_nis is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnss_nis.so?
Library libdl is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libdl.so?
Library libnss_hesiod is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnss_hesiod.so?
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
  Linux libc5)?
- 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
primary library!
make[1]: *** [install] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
make: *** [install] Error 2
i really need help. i am waiting for  getting any advice .!!!!

Unless you've got an extremely good reason to be building glibc by hand, you shouldn't be. It's fraught with plenty of pitfalls, bothers your package manager, and is generally unnecessary.

It makes the following suggestions:

Did you change the gcc specs file (necessary after upgrading from
  Linux libc5)?
- 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)
1 Like