Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lobo-a opened this issue Mar 13, 2021 · 0 comments
Open

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

lobo-a opened this issue Mar 13, 2021 · 0 comments

Comments

@lobo-a
Copy link

lobo-a commented Mar 13, 2021

虚拟机、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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant