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

Package Information

libnsl Dependencies


rpcsvc-proto-1.3.1 and libtirpc-1.0.2

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-03-12 11:42:23 -0500