我尝试在我的 Ubuntu 终端上一步步安装 aircrack他们的网站说明
一切都很顺利,直到步骤make
,当我输入它并按下回车键时,我收到以下错误消息:
$ make -C src all
make[1]: Entering directory '/home/anan/aircrack-ng-1.2-rc4/src'
gcc -g -W -Wall -O3 -mavx2 -DJOHN_AVX2 -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -DSIMD_CORE wpaclean.o osdep/radiotap/radiotap.o -o wpaclean -Losdep -losdep -lnl-genl-3 -lnl-3
/usr/bin/ld: cannot find -lnl-genl-3
collect2: error: ld returned 1 exit status
Makefile:247: recipe for target 'wpaclean' failed
make[1]: * * * [wpaclean] Error 1
make[1]: Leaving directory '/home/anan/aircrack-ng-1.2-rc4/src'
Makefile:25: recipe for target 'all' failed
make: * * * [all] Error 2
答案1
sudo apt-get install libnl-3-dev libnl-genl-3-dev libssl-dev
您特别缺少了libnl-genl-3-dev
需要与列出的其他 2 个包一起安装的包。