Skip to content

-bash: /usr/bin/badvpn-udpgw: cannot execute binary file: Exec format error #15

@ErfanPY

Description

@ErfanPY

I've tried to run badvpn-udpgw64 and badvpn-udpgw script on my Linux VPS which has a aarch64 CPU architecture. And ran into the following error:

-bash: /usr/bin/badvpn-udpgw: cannot execute binary file: Exec format error

I found a general solution for running x86-64 files on arm CPU. Running the following code fixed it:

sudo apt update
sudo apt install -y qemu-user-static binfmt-support
sudo dpkg --add-architecture amd64
sudo apt update
sudo apt install libc6:amd64

Source : https://www.kali.org/docs/arm/x86-on-arm/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions