Skip to content

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

Closed
@xyzNOTNOOB

Description

@xyzNOTNOOB

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions