[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
-
難度 5/5 一週以上 新手友好度 15/100
-
難度 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
相似的 Issue
-
priority: low
難度 2/5 1-3 小時 新手友好度 65/100
storytold/photocraft#6286 · 1 則留言 ·
維護者通常 1 天內回覆
-
Four problem loader browser tests fail on Windows可能已有人在做 @Patriciaath999 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆
-
original-bug
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
effort/S kind/docs
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
starkware-libs/sequencer#15229 ·
維護者通常 1 天內回覆