Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

クローズ
#1,293 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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分
マージ済み PR(30日)
1

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pkgxdev/pkgx のほかの issue

pkgxdev/pkgx の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。