Errors when making Aircrack-ng on raspberry pi

As you can see from the log, I have some errors while trying to compile Aircrack on my raspberry pi B + running on the last dissolve. I can't figure out what happened. (I also installed libnl)

make -C src all
make[1]: Entering directory '/home/pi/aircrack-ng-1.2-rc1/src'
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0
-DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3
-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
Makefile:189: recipe for target 'wpaclean' failed
make[1]: *** [wpaclean] Error 1
make[1]: Leaving directory '/home/pi/aircrack-ng-1.2-rc1/src'
Makefile:25: recipe for target 'all' failed
make: *** [all] Error 2

      

thank

+3


source to share


2 answers


sudo apt-get install libnl-3-dev
sudo ln -s /lib/arm-linux-gnueabihf/libnl-genl-3.so.200  /lib/arm-linux-gnueabihf/libnl-genl-3.so

      



You have libnl-3-dev installed, but it doesn't create the correct link in the library.

+6


source


Try "sudo make" and "sudo make install" You may also need to install the libssl-dev package if you haven't already.



-3


source







All Articles