Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Chiusa
#1,293 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux, rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
9.9k
Fork
1.4k
Merge medio
4h 6m
PR unite (30g)
1

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pkgxdev/pkgx

Tutte le issue di pkgxdev/pkgx

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.