Difference between revisions of "Libnl"

From CBLFS
Jump to navigationJump to search
Line 66: Line 66:
 
  make install &&
 
  make install &&
 
  chmod 755 /usr/lib64/libnl.so.{{Libnl-Version}}
 
  chmod 755 /usr/lib64/libnl.so.{{Libnl-Version}}
 +
 +
[[Category:Networking Libraries]]

Revision as of 14:14, 19 March 2009

Download Source: http://people.suug.ch/~tgr/libnl/files/libnl-1.1.tar.gz

Introduction to Libnl

libnl is a library for applications dealing with netlink sockets. The library provides an interface for raw netlink messaging and various netlink family specific interfaces.

Project Homepage: http://people.suug.ch/~tgr/libnl/

Dependencies

Non-Multilib

Compile the package:

sed -i "/^#include.*<stdlib.h>/a\#include <limits.h>" include/netlink-local.h &&
./configure --prefix=/usr &&
make

Install the package

make install &&
chmod 755 /usr/lib/libnl.so.1.1

Multilib

32Bit

Compile the package:

sed -i "/^#include.*<stdlib.h>/a\#include <limits.h>" include/netlink-local.h &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install &&
chmod 755 /usr/lib/libnl.so.1.1

N32

Compile the package:

sed -i "/^#include.*<stdlib.h>/a\#include <limits.h>" include/netlink-local.h &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install &&
chmod 755 /usr/lib32/libnl.so.1.1

64Bit

Compile the package:

sed -i "/^#include.*<stdlib.h>/a\#include <limits.h>" include/netlink-local.h &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install &&
chmod 755 /usr/lib64/libnl.so.1.1
Retrieved from "?title=Libnl&oldid=17318"