Problem Description
After installing GitHub Copilot CLI via curl -fsSL https://gh.io/copilot-install | sudo bash, the copilot command fails with:
bash: /usr/local/bin/copilot: cannot execute binary file: Exec format error
Environment Information
- OS: Linux (Oracle Linux / RHEL / CentOS variant)
- Architecture:
aarch64 (ARM64)
- Binary Format:
/usr/local/bin/copilot: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1
- Dynamic Linker Status:
ldd shows all dependencies resolved.
Steps to Reproduce
- Run
curl -fsSL https://gh.io/copilot-install | sudo bash on an aarch64 Linux machine.
- Attempt to run
copilot.
Expected Behavior
The CLI should execute normally.
Actual Behavior
Exec format error occurs even though the binary architecture matched the system architecture. This might be related to kernel compatibility (3.7.0 as indicated in the binary) or specific ELF note headers.
Problem Description
After installing GitHub Copilot CLI via
curl -fsSL https://gh.io/copilot-install | sudo bash, thecopilotcommand fails with:bash: /usr/local/bin/copilot: cannot execute binary file: Exec format errorEnvironment Information
aarch64(ARM64)lddshows all dependencies resolved.Steps to Reproduce
curl -fsSL https://gh.io/copilot-install | sudo bashon anaarch64Linux machine.copilot.Expected Behavior
The CLI should execute normally.
Actual Behavior
Exec format erroroccurs even though the binary architecture matched the system architecture. This might be related to kernel compatibility (3.7.0 as indicated in the binary) or specific ELF note headers.