The libnsl package contains the public client interface for NIS(YP) and NIS+. It replaces the NIS library that used to be in glibc.
This package is known to build and work properly using an LFS-8.4 platform.
Download (HTTP): https://github.com/thkukuk/libnsl/archive/v1.2.0/libnsl-1.2.0.tar.gz
Download MD5 sum: 05222024777e12e2f6d48f2e7d067ac7
Download size: 208 KB
Estimated disk space required: 9.3 MB
Estimated build time: 0.2 SBU
rpcsvc-proto-1.4 and libtirpc-1.1.4
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libnsl
Install libnsl by running the following commands:
autoreconf -fi && ./configure --sysconfdir=/etc && make
This package does not come with a test suite.
Now, as the root
user:
make install && mv /usr/lib/libnsl.so.2* /lib && ln -sfv ../../lib/libnsl.so.2.0.0 /usr/lib/libnsl.so
--disable-static
: This
switch prevents installation of static versions of the libraries.
mv -v /usr/lib/libnsl.so.2* ...: Move shared libraries into /lib so they are available before /usr is mounted.
Last updated on 2019-02-18 10:44:04 -0800