Libnl: Difference between revisions
From CBLFS
Jump to navigationJump to search
New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://people.suug.ch/~tgr/libnl/files/libnl-1.0-pre6.tar.gz |} ---- == Introduction to Libnl == libnl i... |
Coyote sprit (talk | contribs) The link is currently dead. |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
| http://people.suug.ch/~tgr/libnl/files/libnl-1. | | http://people.suug.ch/~tgr/libnl/files/libnl-{{Libnl-Version}}.tar.gz | ||
|} | |||
{| style="text-align: left; background-color: AliceBlue;" | |||
|- | |||
!Download Source (Alternative): | |||
| https://launchpad.net/ubuntu/hardy/+source/libnl/1.1-1/+files/libnl_1.1.orig.tar.gz | |||
|} | |} | ||
---- | ---- | ||
{{Package-Introduction|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.|http://people.suug.ch/~tgr/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. | |||
== Dependencies == | == Dependencies == | ||
| Line 19: | Line 21: | ||
Compile the package: | Compile the package: | ||
sed -i "/^#include.*<stdlib.h>/a\#include <limits.h>" include/netlink-local.h && | |||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
| Line 24: | Line 27: | ||
Install the package | Install the package | ||
make install | make install && | ||
chmod 755 /usr/lib/libnl.so.{{Libnl-Version}} | |||
== Multilib == | == Multilib == | ||
| Line 32: | Line 36: | ||
Compile the package: | Compile the package: | ||
sed -i "/^#include.*<stdlib.h>/a\#include <limits.h>" include/netlink-local.h && | |||
CC="gcc ${BUILD32}" ./configure --prefix=/usr && | CC="gcc ${BUILD32}" ./configure --prefix=/usr && | ||
make | make | ||
| Line 37: | Line 42: | ||
Install the package | Install the package | ||
make install | make install && | ||
chmod 755 /usr/lib/libnl.so.{{Libnl-Version}} | |||
=== N32 === | === N32 === | ||
| Line 43: | Line 49: | ||
Compile the package: | Compile the package: | ||
sed -i "/^#include.*<stdlib.h>/a\#include <limits.h>" include/netlink-local.h && | |||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | ||
--libdir=/usr/lib32 && | --libdir=/usr/lib32 && | ||
| Line 49: | Line 56: | ||
Install the package | Install the package | ||
make install | make install && | ||
chmod 755 /usr/lib32/libnl.so.{{Libnl-Version}} | |||
=== 64Bit === | === 64Bit === | ||
| Line 55: | Line 63: | ||
Compile the package: | Compile the package: | ||
sed -i "/^#include.*<stdlib.h>/a\#include <limits.h>" include/netlink-local.h && | |||
CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | ||
--libdir=/usr/lib64 && | --libdir=/usr/lib64 && | ||
| Line 61: | Line 70: | ||
Install the package | Install the package | ||
make install | make install && | ||
chmod 755 /usr/lib64/libnl.so.{{Libnl-Version}} | |||
[[Category:Networking Libraries]] | |||
Latest revision as of 11:57, 17 September 2009
| Download Source: | http://people.suug.ch/~tgr/libnl/files/libnl-1.1.tar.gz |
|---|
| Download Source (Alternative): | https://launchpad.net/ubuntu/hardy/+source/libnl/1.1-1/+files/libnl_1.1.orig.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