Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation error on termux : no such file or directory #486

Closed
xyzNOTNOOB opened this issue Mar 12, 2019 · 12 comments
Closed

compilation error on termux : no such file or directory #486

xyzNOTNOOB opened this issue Mar 12, 2019 · 12 comments

Comments

@xyzNOTNOOB
Copy link

xyzNOTNOOB commented Mar 12, 2019

Environment

Please provide:

  • Bettercap 2.19
  • android 6.0.1 aarch64 processor
  • device redmi note 3 sd edition
  • Go version go1.12 android/arm64
  • used commands mentioned here: https://www.bettercap.org/installation/ to compile from source on android

Steps to Reproduce

-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 :)

@evilsocket
Copy link
Member

evilsocket commented Mar 13, 2019

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

@evilsocket
Copy link
Member

closed with bettercap/website@6a2176f

@evilsocket
Copy link
Member

opened termux/termux-packages#3505

@shownb
Copy link

shownb commented Mar 22, 2019

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.

@slegna29
Copy link

Do i need to root my device to install zphisher in my termux?? That error always appears in my device everytime i install zphisher 😭😭 teach me how to fix it pls..

@umairmaqsood558
Copy link

Do i need to root my device to install zphisher in my termux?? That error always appears in my device everytime i install zphisher 😭😭 teach me how to fix it pls. no

@shuvo49
Copy link

shuvo49 commented Aug 3, 2021

cp cannot start no such file or directory in termux

@Horse010
Copy link

عندما احاول تشغيل اي أداة مثلا python2 Lazymux.py
يكتب لي Errno 2] No such file or directory

@iboa20010
Copy link

Why
Screenshot_20220421-010814_Termux

@DualGiT31
Copy link

Pkg install golang...

@romanprem0123
Copy link

Do i need to root my device to install zphisher in my termux?? That error always appears in my device everytime i install zphisher 😭😭 teach me how to fix it pls. no
rxce file is there send please +91 9360414662 my whatsapp

@Ameer786smok
Copy link

Termux app is lot of errors pls fix them any tool installetion warenty errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests