Failed to install glibc
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <CAOWLHvt=umFrmzEo9CNnJV+GYuhDnqiD=m69AjYxzPh+Q=9row@mail.gmail.com> |
Hello, I use systemd development book and in chapter 8.5. Glibc-2.40 I'm trying to install glibc with make install command as usually. But I ends with: -------------------------------------------------------------------------- LD_SO=ld-linux-x86-64.so.2 CC="gcc" /usr/bin/perl scripts/test-installation.pl /build/glibc-2.40/build/ /usr/lib/gcc/x86_64-lfs-linux-gnu/14.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: cannot find -lnsl: No such file or directory /usr/lib/gcc/x86_64-lfs-linux-gnu/14.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: cannot find -lnss_dns: No such file or directory collect2: error: 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 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]: *** [Makefile:114: install] Error 1 make[1]: Leaving directory '/build/glibc-2.40' make: *** [Makefile:12: install] Error 2 -------------------------------------------------------------------------- What I'm doing wrong? Thanks, Filip Bartmann -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page