[lfs-support] glibc-2.26 make install failed
pierre.labastie at neuf.fr
Thu Nov 2 12:26:57 PDT 2017
On 02/11/2017 19:41, Nayab Basha Sayed wrote:
> Hi all,
> I've compiled glibc-2.26 from Chapter 6.
> When I check with `make check` command, only one test case failed:
> FAIL: misc/tst-clone3
> I chose to ignore it and continued the installation with `make
> install`. It stopped installation throwing following error:
> LD_SO=ld-linux-x86-64.so.2 CC="gcc -isystem
> /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include -isystem /usr/include"
> /usr/bin/perl scripts/test-installation.pl
> <http://test-installation.pl> /sources/glibc-2.26/build/
> cannot find -lnss_nis
> collect2: error: ld returned 1 exit status
> Execution of gcc -isystem
> /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include -isystem /usr/include
> And when I check the library with the following command, I found no
> libnss_nis.so library.
> Command: /sbin/ldconfig -p | grep nss_nis
> How to overcome this problem and continue the glibc installation?
> Would anybody help, please?
You forgot the instruction after "touch /etc/ld.so.conf":
sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile
The text tells it removes a check that fails in the partial LFS environment.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lfs-support