MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« LibTIRPC 32-bit HOME libNSL2 32-bit »

LibNSL2 64-bit

Name: LibNSL2 64-bit
Summary: The NIS/YP API library
License: LGPL v2.1
Version: 2.0.1
URL: https://github.com/thkukuk/libnsl/releases/download/v2.0.1/libnsl-2.0.1.tar.xz

Average Build Time: less than 0.1 SBU
Used Install Space: 168 KiB

Configuration

To configure the LibNSL2 64-bit package for compilation, run the following command:

./configure --prefix=/usr           \
            --libdir=/usr/lib64     \
            --libexecdir=/usr/lib64 \
            --sysconfdir=/etc       \
            --disable-static

Compilation and Installation

To compile LibNSL2 64-bit, run the following command:

make

Next, run the test suite:

make check

Finally, to install LibNSL2 64-bit into the build tree, run the following commands:

make install
rm -fv /usr/lib64/libnsl.la

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Libraries libnsl.so
Navigation    
« LibTIRPC 32-bit HOME LibNSL2 32-bit »