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.1 platform.
Download (HTTP): https://github.com/thkukuk/libnsl/archive/1.1.0/libnsl-1.1.0.tar.gz
Download MD5 sum: af13f06000c691bc19dfc82822ab5374
Download size: 212 KB
Estimated disk space required: 8.1 MB
Estimated build time: 0.3 SBU
rpcsvc-proto-1.2 and libtirpc-1.0.2
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 2017-08-25 05:15:41 -0700