#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 17. Networking Libraries

- Prev

  libnma-1.10.6

- Next

  libpcap-1.10.6

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

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### 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.7

## 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.6

- Up
- Home