Hello, I'm following LFS-BOOK-SVN-20110427. I followed everything in the book successfully until section 6.9. Glibc-2.13. My host is Fedora 14 x86_64 up to date.
The host's prerequisites are : # bash version-check.sh bash, version 4.1.7(1)-release /bin/sh -> /bin/bash Binutils: version 2.20.51.0.7-6.fc14 20100318 bison (GNU Bison) 2.4.3 /usr/bin/yacc -> /usr/bin/yacc bzip2, Version 1.0.6, 6-Sept-2010. Coreutils: 8.5 diff (GNU diffutils) 2.8.1 find (GNU findutils) 4.5.9 GNU Awk 3.1.8 /usr/bin/awk -> /bin/gawk gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4) version-check.sh: line 22: /lib/libc.so.6: No such file or directory grep (GNU grep) 2.7 gzip 1.4 Linux version 2.6.35.12-88.fc14.x86_64 ([email protected]) (gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) ) #1 SMP Thu Mar 31 21:21:57 UTC 2011 m4 (GNU M4) 1.4.14 GNU Make 3.82 patch 2.6.1 Perl version='5.12.3'; GNU sed version 4.2.1 tar (GNU tar) 1.23 Texinfo: makeinfo (GNU texinfo) 4.13 Compilation OK I have this error when i launch the "make install" command : stubs.h unchanged rm -f /sources/glibc-build/stubs.h /sources/glibc-build/elf/sln /sources/glibc-build/elf/symlink.list rm -f /sources/glibc-build/elf/symlink.list test ! -x /sources/glibc-build/elf/ldconfig || LC_ALL=C LANGUAGE=C \ /sources/glibc-build/elf/ldconfig \ /lib64 /usr/lib64 CC="gcc" /usr/bin/perl scripts/test-installation.pl /sources/glibc-build/ Use of uninitialized value in string ne at scripts/test-installation.pl line 163, <LDD> line 20. Library libgcc_s is not correctly installed. Please check your installation! Offending line of ldd output: libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007ff1e44c2000) 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 `/sources/glibc-2.13' make: *** [install] Error 2 What clue am I missing? Thanks Tony
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
