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.
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
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
mv -v /usr/lib/libmnl.so.* ...: Move shared libraries into /lib so they are available before /usr is mounted.
Last updated on 2021-02-20 13:35:58 -0600