Introduction to libnsl

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.3 platform.

Package Information

libnsl Dependencies


rpcsvc-proto-1.4 and libtirpc-1.0.3

User Notes:

Installation of libnsl

Install libnsl by running the following commands:

autoreconf -fi                &&
./configure --sysconfdir=/etc &&

This package does not come with a test suite.

Now, as the root user:

make install                  &&
mv /usr/lib/* /lib &&
ln -sfv ../../lib/ /usr/lib/

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

mv -v /usr/lib/* ...: Move shared libraries into /lib so they are available before /usr is mounted.


Installed Programs: None
Installed Libraries: libnsl.{a,so}
Installed Directories: None

Short Descriptions


provides the NIS (YP) API functions required by other programs.

Last updated on 2018-08-20 13:08:58 -0700