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.
本パッケージは LFS-10.1 において正しくビルドでき動作することが確認されています。
ダウンロード (HTTP): https://netfilter.org/projects/libmnl/files/libmnl-1.0.4.tar.bz2
ダウンロード MD5 sum: be9b4b5328c6da1bda565ac5dffadb2d
ダウンロードサイズ: 296 KB
必要ディスク容量: 2.9 MB
概算ビルド時間: 0.1 SBU 以下
以下のコマンドを実行して libmnl をビルドします。
./configure --prefix=/usr && make
このパッケージにテストスイートはありません。
root
ユーザーになって以下を実行します。
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.* ...: シェアライブラリを /lib に移動することで、/usr がマウントされる前であっても利用可能とします。
最終更新日: 2021-02-21 04:35:58 +0900