alibaba / LVS

A distribution of Linux Virtual Server with some advanced features. It introduces a new packet forwarding method - FULLNAT other than NAT/Tunneling/DirectRouting, and defense mechanism against synflooding attack - SYNPROXY.
2k stars 682 forks source link

编译 ipvsadm 时报错了:usr/bin/ld: cannot find -lnl #40

Open lobo-a opened 3 years ago

lobo-a commented 3 years ago

虚拟机、centos7 mini版,使用的是lvs v2,kernel和keepalived都编译安装成功了,但是编译 ipvsadm 时报错了

报错如下: gcc -Wall -Wunused -Wstrict-prototypes -g -o ipvsadm ipvsadm.o config_stream.o dynamic_array.o ../keepalived/keepalived/libipvs-2.6/libipvs.a -lpopt -lnl /usr/bin/ld: cannot find -lnl collect2: error: ld returned 1 exit status make: *** [ipvsadm] Error 1