I'm getting similar error 8 years later. On one day old Ubuntu 13.04.
Code:
gcc -g -ggdb -Wall -Wextra -o mt6d mt6d.o address_worker.o tunnel_worker.o mt6d_assoc.o addr_gen.o send_utils.o if_utils.o tun_utils.o icmp_utils.o utils.o -lcrypto -lnetfilter_queue -lssl -lnetlink -lpthread
/usr/bin/ld: cannot find -lnetlink
collect2: error: ld returned 1 exit status
I've been trying to fix the issue for several days. I repeatedly encounter problems with libnetlink.h and similar files. I know the original post is over 8 years ago, but I'm still seeing the problem. Which is strange, because from what I understand, this is installed by default in Ubuntu 13.04, but I must be wrong.
Any help would be greatly appreciated!
Thank You,
-Alan