github / github/copilot-cli

Exec format error on aarch64 Linux (copilot-cli installs aarch64 binary but fails to run)

オープン
#2,060 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:installation area:platform-linux
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### 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
1. Run `curl -fsSL https://gh.io/copilot-install | sudo bash` on an `aarch64` Linux machine.
2. 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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。