[Bug] pkgx fails to run on Ubuntu 18.04 due to GLIBC version requirement
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- linux, rust
- Domaine
- build-system, release
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Rust
- Étoiles
- 9.9k
- Forks
- 1.4k
- Merge moyen
- 4 h 6 min
- PR mergées (30 j)
- 1
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de pkgxdev/pkgx
-
Support for programs compiled against `musl libc` for Linux distributions that use this `libc`Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 15/100
-
`--query` flag goneOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
-
`pkgx --update`Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
Toutes les issues de pkgxdev/pkgx
Issues similaires
-
area/infra good first issue type/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 60/100
cristim/AztecCraft#92 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
charles-hood/DiagramCraft#51 ·
-
S: Untriaged T: Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
libnyanpasu/clash-nyanpasu#5788 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
area:cli bug good first issue priority:medium
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
rtk-ai/rtk#4589 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour