[Bug] pkgx fails to run on Ubuntu 18.04 due to GLIBC version requirement
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- linux, rust
- 领域
- build-system, release
调研方向
The payload names no source or build files. Start by checking which glibc symbol version the released pkgx binary requires, for example with objdump or readelf against the GLIBC_2.28 requirement, and find where the release build targets Linux. Done means the binary starts on a glibc 2.27 system such as Ubuntu 18.04, or the minimum supported glibc is documented. Ask maintainers which target is wanted first.
由索引模型根据 Issue 内容生成。
描述
Description
I'm unable to run pkgx on Ubuntu 18.04, which is still a supported Ubuntu release.
When I try to execute the binary, I get the following error:
ubuntu@ubuntu:~/.pkgx$ ./pkgx
./pkgx: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./pkgx)
Ubuntu 18.04 ships with glibc 2.27, as confirmed by the installed library files:
/lib/x86_64-linux-gnu/libc-2.27.so
/lib/x86_64-linux-gnu/libc.so.6
It appears that the current pkgx binary requires glibc 2.28 or newer, making it incompatible with Ubuntu 18.04.
Expected behavior
pkgx should run on Ubuntu 18.04, given that this release is still supported.
Possible solution
Would it be possible to build pkgx against an older glibc version to improve compatibility with older Linux distributions?
Building against glibc 2.27 or an earlier compatible version could help ensure that the binary works on Ubuntu 18.04 and other distributions with older system libraries.
- 主要语言
- Rust
- 星标
- 9.9k
- 派生
- 1.4k
- 平均合并
- 4 小时 6 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pkgxdev/pkgx 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
`pkgx --update`未关闭
难度 4/5 3-5 天 新手友好度 52/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
-
state:triage-needed
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
scanaislop/aislop#482 ·
维护者通常 1 天内回复
-
docs(skills): issue-first should reference an existing Linear ticket instead of filing a duplicate未关闭documentation
难度 1/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复