#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 17. Networking Libraries

- Prev

  libnma-1.10.6

- Next

  libpcap-1.10.5

- Up
- Home

# libnsl-2.0.1

## Introduction to libnsl

The libnsl package contains the public client interface for NIS(YP). It replaces the NIS library that used to be in glibc.

This package is known to build and work properly using an LFS 12.3 platform.

### Package Information

- Download (HTTP): https://github.com/thkukuk/libnsl/releases/download/v2.0.1/libnsl-2.0.1.tar.xz

- Download MD5 sum: fb178645dfa85ebab0f1e42e219b42ae

- Download size: 276 KB

- Estimated disk space required: 3.1 MB

- Estimated build time: less than 0.1 SBU

### libnsl Dependencies

#### Required

libtirpc-1.3.6

## Installation of libnsl

Install libnsl by running the following commands:

    ./configure --sysconfdir=/etc --disable-static &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install

## Command Explanations

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

## Contents

Installed Programs: None
Installed Libraries: libnsl.so
Installed Directories: /usr/include/rpcsvc

### Short Descriptions

`libnsl.so` | provides the NIS (YP) API functions required by other programs

- Prev

  libnma-1.10.6

- Next

  libpcap-1.10.5

- Up
- Home