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/
/tools/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
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
failed!
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.
Pierre
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style