我一直在尝试编译和安装keepalived,如以下链接http://www.keepalived.org/doc/installing_keepalived.html
我正在ubuntu / trusty64流浪汉机器上构建它 我已经安装了文档中指定的所有要求
sudo apt-get install curl gcc libssl-dev libnl-3-dev libnl-genl-3-dev libsnmp-dev
当我做'make'命令时 它向我显示了以下错误
gcc -g -O2 -I/usr/src/linux/include -I/usr/src/linux/include -
DLIBIPVS_USE_NL -Wall -Wunused -c -o libipvs.o libipvs.c
In file included from libipvs.h:13:0,
from libipvs.c:23:
ip_vs.h:15:29: fatal error: netlink/netlink.h: No such file or directory
#include <netlink/netlink.h> <-(the terminal saying that the error)
我试过那个答案 libnl-3 includes broken? 我进入了
sudo make -I /usr/include/libnl3
或
make -I /usr/include/libnl3
但两个都失败了我是一个新的c编译和在linux中构建所以我会提供任何帮助