Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

[Bug] pkgx fails to run on Ubuntu 18.04 due to GLIBC version requirement

已關閉
#1,293 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
linux, rust

研究方向

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 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

pkgxdev/pkgx 的其他 Issue

查看 pkgxdev/pkgx 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。