Alpine Linux - can't build libtorrent, missing linux/netlink.h
0
votes
1
answer
4255
views
I'm trying to compile [libtorrent](https://github.com/rakshasa/libtorrent) on Alpine Linux.
autogen
and configure
work fine but after invoking make
it fails with the following message:
local_addr.cc:45:10: fatal error: linux/netlink.h: No such file or directory
I looked in /usr/include
and found only netlink/netlink.h
. However the next include in the source file is rtnetlink.h
which doesn't exist.
Is this due to a missing dependency or perhaps a problem related to glibc/musl? How do you build libtorrent/rtorrent under Alpine Linux?
I am aware there is an rtorrent package for Alpine but would rather prefer to build it myself, so I can customize the build options.
These are the packages I installed prior to my build attempt:
* autoconf
* automake
* libtool
* pkgconfig
* ncurses-dev
* zlib-dev
* libsigc++-dev
* libcurl
* curl-dev
* libnl-dev
Asked by user334730
(3 rep)
Feb 1, 2019, 07:22 PM
Last activity: Feb 1, 2019, 07:28 PM
Last activity: Feb 1, 2019, 07:28 PM