sudo apt-get install libnl-3-dev
正在工作,但是现在当我运行sudo make install
lussy@lussy-HP-250-G1-Notebook-PC:~/aircrack-ng-1.2-rc4$ sudo make install
make -C src all make[1]: Entering directory /home/lussy/aircrack-ng-1.2-rc4/src'
gcc -g -W -Wall -O3 -msse2 -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude wpaclean.o osdep/radiotap/radiotap.o -o wpaclean -Losdep -losdep -lnl-genl-3 -lnl-3
/usr/bin/ld: cannot find -lnl-genl-3
collect2: ld returned 1 exit status
make[1]: *** [wpaclean] Error 1
make[1]: Leaving directory/home/lussy/aircrack-ng-1.2-rc4/src' make: *** [all] Error 2
答案1
对于编译应用程序(aircrack-ng),
sudo apt-get install libnl-3-dev
http://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=libnl&searchon=names