libnsl-1.2.0

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 17. Networking Libraries

- Prev

  libnl-3.4.0

- Next

  libpcap-1.9.0

- Up
- Home

# libnsl-1.2.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-8.4 platform.

### Package Information

- Download (HTTP): https://github.com/thkukuk/libnsl/archive/v1.2.0/libnsl-1.2.0.tar.gz

- Download MD5 sum: 05222024777e12e2f6d48f2e7d067ac7

- Download size: 208 KB

- Estimated disk space required: 9.3 MB

- Estimated build time: 0.2 SBU

### libnsl Dependencies

#### Required

rpcsvc-proto-1.4 and libtirpc-1.1.4

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.0 /usr/lib/libnsl.so

## Command Explanations

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

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 2019-02-18 12:44:04 -0600

- Prev

  libnl-3.4.0

- Next

  libpcap-1.9.0

- Up
- Home