Cannot use 1.0.46 copilot-cli in Ubuntu System with GLIBC_2.33
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the bug
After upgrade to 1.0.46 version Error occurs. After debugging, we found that it relates to system env
```
~/.cache/copilot/pkg/universal/*/native/runtime/runtime.linux-x64-gnu.node 2>&1 | head -8
/home/XXXXX/.cache/copilot/pkg/universal/1.0.46/native/runtime/runtime.linux-x64-gnu.node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/XXXXX/.cache/copilot/pkg/universal/1.0.46/native/runtime/runtime.linux-x64-gnu.node)
/home/XXXXX/.cache/copilot/pkg/universal/1.0.46/native/runtime/runtime.linux-x64-gnu.node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/XXXXX/.cache/copilot/pkg/universal/1.0.46/native/runtime/runtime.linux-x64-gnu.node)
linux-vdso.so.1 (0x00007fff59759000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f69193e5000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6919296000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f69190a4000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6919b8d000)
```
Finding: version `GLIBC_2.33` not found
### Affected version
_No response_
### Steps to reproduce the behavior
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
贡献指南
调研方向
首先,使用位于 ~/.cache/copilot/pkg/universal/1.0.46/native/runtime/runtime.linux-x64-gnu.node 的缓存 runtime 重现报告的失败,并使用所示命令检查其链接库。将所需的 GLIBC_2.33 和 GLIBC_2.34 版本与目标 Ubuntu 系统进行比较;完成的标准是确定一种受支持的方式,使 CLI 能够在该系统上运行,或记录不兼容的系统要求。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- linux, ubuntu
- 领域
- cli, operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100