libnl-3.2.9

Introduction to libnl

The libnl suite is a collection of libraries providing APIs to netlink protocol based Linux kernel interfaces.

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

Package Information

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

Installation of libnl

Install libnl by running the following commands:

./configure --prefix=/usr \
            --sysconfdir=/etc \
            --disable-static &&
make

This package does not have a testsuite.

Now, as the root user:

make install

Command Explanations

--sysconfdir=/etc: This parameter puts the pktloc and classid files in /etc/libnl which is their conventional location and recommended if you are building this package to enable NetworkManager on a desktop. If you are building this package for other reasons, you might prefer to use --sysconfdir=/var/lib so that these files, which are not expected to be edited, are placed in /var/lib/nl. The default for a build with prefix /usr is, of course, to create a directory /usr/etc which is not desirable.

--disable-static: This switch prevents the static libraries being installed.

Contents

Installed Programs: genl-ctrl-list, nl-class-add, nl-class-delete, nl-class-list, nl-classid-lookup, nl-cls-add, nl-cls-delete, nl-cls-list, nl-link-list, nl-pktloc-lookup, nl-qdisc-add, nl-qdisc-delete and nl-qdisc-list
Installed Libraries: libnl-3.so, libnl-cli-3.so, libnl-genl-3.so, libnl-nf-3.so and libnl-route-3.so
Installed Directories: /etc/libnl, /usr/include/libnl3 and /usr/lib/libnl

Last updated on 2012-05-16 20:07:49 +0000