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 摘要。