Aircrack-ng Failed to spawn binary

After installing aircrack-ng and running it, I get an error “Failed to spawn binary”. Aircrack-ng beta runs without problems.

This is due to the fact that by default aircrack-ng is installed in the /usr/libexec folder, but I do not have this folder.

It can be fixed only if it is compiled independently, specifying the folder to install:

./autogen
make pkglibexecdir=/usr/lib
sudo make install pkglibexecdir=/usr/lib

Who knows how to install it using pacman in the default folder /usr/lib?

Please help me!

Post an issue with the package maintainer or build your own package and install it with pacman -U

https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/aircrack-ng

use makepkg to build it from the PKGBUILD linked above.

No it isnt, not sure why it would be for your system

pacman -Ql aircrack-ng

aircrack-ng /usr/
aircrack-ng /usr/bin/
aircrack-ng /usr/bin/airbase-ng
aircrack-ng /usr/bin/aircrack-ng
aircrack-ng /usr/bin/airdecap-ng
aircrack-ng /usr/bin/airdecloak-ng
aircrack-ng /usr/bin/aireplay-ng
aircrack-ng /usr/bin/airmon-ng
aircrack-ng /usr/bin/airodump-ng
aircrack-ng /usr/bin/airodump-ng-oui-update
aircrack-ng /usr/bin/airolib-ng
aircrack-ng /usr/bin/airserv-ng
aircrack-ng /usr/bin/airtun-ng
aircrack-ng /usr/bin/airventriloquist-ng
aircrack-ng /usr/bin/besside-ng-crawler
aircrack-ng /usr/bin/ivstools
aircrack-ng /usr/bin/kstats
aircrack-ng /usr/bin/makeivs-ng
aircrack-ng /usr/bin/packetforge-ng
aircrack-ng /usr/bin/wpaclean
aircrack-ng /usr/lib/
aircrack-ng /usr/lib/aircrack-ng/
aircrack-ng /usr/lib/aircrack-ng/aircrack-ng--avx
aircrack-ng /usr/lib/aircrack-ng/aircrack-ng--avx2
aircrack-ng /usr/lib/aircrack-ng/aircrack-ng--generic
aircrack-ng /usr/lib/aircrack-ng/aircrack-ng--sse2
aircrack-ng /usr/share/
aircrack-ng /usr/share/man/
aircrack-ng /usr/share/man/man1/
aircrack-ng /usr/share/man/man1/man1/
aircrack-ng /usr/share/man/man1/man1/aircrack-ng.1.gz
aircrack-ng /usr/share/man/man1/man1/airdecap-ng.1.gz
aircrack-ng /usr/share/man/man1/man1/airdecloak-ng.1.gz
aircrack-ng /usr/share/man/man1/man1/airolib-ng.1.gz
aircrack-ng /usr/share/man/man1/man1/besside-ng-crawler.1.gz
aircrack-ng /usr/share/man/man1/man1/ivstools.1.gz
aircrack-ng /usr/share/man/man1/man1/kstats.1.gz
aircrack-ng /usr/share/man/man1/man1/makeivs-ng.1.gz
aircrack-ng /usr/share/man/man1/man1/packetforge-ng.1.gz
aircrack-ng /usr/share/man/man1/man1/wpaclean.1.gz
aircrack-ng /usr/share/man/man1/man8/
aircrack-ng /usr/share/man/man1/man8/airbase-ng.8.gz
aircrack-ng /usr/share/man/man1/man8/aireplay-ng.8.gz
aircrack-ng /usr/share/man/man1/man8/airmon-ng.8.gz
aircrack-ng /usr/share/man/man1/man8/airodump-ng-oui-update.8.gz
aircrack-ng /usr/share/man/man1/man8/airodump-ng.8.gz
aircrack-ng /usr/share/man/man1/man8/airserv-ng.8.gz
aircrack-ng /usr/share/man/man1/man8/airtun-ng.8.gz

Cheers