aircrack-ng / mdk4

MDK4
GNU General Public License v3.0
638 stars 113 forks source link

Can't compile it on Fedora 29 #23

Open lpgasparotto opened 5 years ago

lpgasparotto commented 5 years ago

Hi, I'm trying to compile mdk4 on Fedora 29 and I get this error message: gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I.. -c -o radiotap/radiotap.o radiotap/radiotap.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I.. -c -o common.o common.c ar cru libosdep.a osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o ar: error while loading shared libraries: libbfd-2.20.51.0.7-6.fc14.so: cannot open shared object file: No such file or directory make[3]: *** [Makefile:61: .os.Linux] Error 127

This is a weird thing because there's a newer version of this file: libbfd-2.31.1-17.fc29.so

strasharo commented 5 years ago

Compiles fine for me on an up to date Fedora 29. Did you try updating your distribution?

Edu4rdSHL commented 5 years ago

Update your distro or install the package that provides the missing libraries.