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

### Chapter 17. Networking Libraries

- Prev

  libevent-2.1.12

- Next

  libnl-3.5.0

- Up
- Home

# libmnl-1.0.4

## Introduction to libmnl

The libmnl library provides a minimalistic user-space library oriented to Netlink developers. There are a lot of common tasks in parsing, validating, constructing of both the Netlink header and TLVs that are repetitive and easy to get wrong. This library aims to provide simple helpers that allows you to re-use code and to avoid re-inventing the wheel.

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

### Package Information

- Download (HTTP): https://netfilter.org/projects/libmnl/files/libmnl-1.0.4.tar.bz2

- Download MD5 sum: be9b4b5328c6da1bda565ac5dffadb2d

- Download size: 296 KB

- Estimated disk space required: 2.9 MB

- Estimated build time: less than 0.1 SBU

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

## Installation of libmnl

Install libmnl by running the following commands:

    ./configure --prefix=/usr &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install                 &&
    mv /usr/lib/libmnl.so.* /lib &&
    ln -sfv ../../lib/$(readlink /usr/lib/libmnl.so) /usr/lib/libmnl.so

## Command Explanations

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

## Contents

Installed Library: libmnl.so

### Short Descriptions

`libmnl.so` | provides functions for parsing, validating, constructing of both the Netlink header and TLVs

Last updated on 2021-02-20 11:35:58 -0800

- Prev

  libevent-2.1.12

- Next

  libnl-3.5.0

- Up
- Home