[Bug] pkgx fails to run on Ubuntu 18.04 due to GLIBC version requirement
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- linux, rust
- Bereich
- build-system, release
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Rust
- Sterne
- 9.9k
- Forks
- 1.4k
- Ø Merge
- 4 Std. 6 Min.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus pkgxdev/pkgx
-
Support for programs compiled against `musl libc` for Linux distributions that use this `libc`Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
-
`--query` flag goneOffen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
-
`pkgx --update`Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
Ähnliche Issues
-
Settings: the AI & Intelligence page cannot be scrolled (its Flickable has no viewport height)Offenarea/desktop-shell P1-high
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
yantrikos/yantrik-os#998 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug P2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
plrigaux/sysd-manager#85 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
dsx-ai-factory/infra-controller#8341 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 1 Tag