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

Package Information

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 2020-02-17 12:12:55 -0800