Please provide:
-pkg install root-repo
-pkg install golang git libpcap-dev libusb-dev
-go get -u github.com/bettercap/bettercap
**Expected behavior: to compile and move executable to go/bin folder
**Actual behavior:i got this error
-- /home/builder/.termux-build/_cache/19b-aarch64-21-v1/bin/aarch64-linux-android-pkg-config --cflags -- libusb-1.0
/home/builder/.termux-build/_cache/19b-aarch64-21-v1/bin/aarch64-linux-android-pkg-config: fork/exec /home/builder/.termux-build/_cache/19b-aarch64-21-v1/bin/aarch64-linux-android-pkg-config: no such file or directory
.......
i was on version 2.11 or 2.9 - actually i can't remember - for a while it compiled successfully on the same device the same os.
i just made an acc. to find solution for this prob. help will be greatly appreciated :)
oh yeah, i forgot about this one ... there's one terrible fix for this (will add it to the docs now, thanks for reminding me! :D), remount / as rw, create that file yourself, and symlink the file:
sudo su
mount -o rw,remount /
mkdir -p /home/builder/.termux-build/_cache/18-arm-21-v2/bin/
ln -s `which pkg-config` /home/builder/.termux-build/_cache/18-arm-21-v2/bin/arm-linux-androideabi-pkg-config
i installed like that:
apt update
apt install golang git libpcap-dev libusb-dev pkg-config
go get -u github.com/bettercap/bettercap
without any problem.
Most helpful comment
oh yeah, i forgot about this one ... there's one terrible fix for this (will add it to the docs now, thanks for reminding me! :D), remount / as
rw, create that file yourself, and symlink the file: