#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 17. Networking Libraries

- Prev

  libnma-1.8.30

- Next

  libpcap-1.10.0

- Up
- Home

# libnsl-1.3.0

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

### Package Information

- Download (HTTP): https://github.com/thkukuk/libnsl/releases/download/v1.3.0/libnsl-1.3.0.tar.xz

- Download MD5 sum: 9214f674bd0c2bcfdd6c1da0cadb061f

- Download size: 314 KB

- Estimated disk space required: 8.4 MB

- Estimated build time: 0.1 SBU

### libnsl Dependencies

#### Required

rpcsvc-proto-1.4.2 and libtirpc-1.3.1

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libnsl

## Installation of libnsl

Install libnsl by running the following commands:

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

This package does not come with a test suite.

Now, as the `root` user:

    make install                  &&
    mv /usr/lib/libnsl.so.2* /lib &&
    ln -sfv ../../lib/libnsl.so.2.0.1 /usr/lib/libnsl.so

## Command Explanations

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

## Contents

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

### Short Descriptions

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

Last updated on 2021-02-19 22:13:48 -0800

- Prev

  libnma-1.8.30

- Next

  libpcap-1.10.0

- Up
- Home