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

Package Information

libnsl Dependencies


rpcsvc-proto-1.4 and libtirpc-1.2.5

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

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 2020-02-17 12:12:55 -0800