Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Fechada
#1,293 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
linux, rust
Domínio
build-system, release

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Rust
Estrelas
9.9k
Forks
1.4k
Merge médio
4h 6min
PRs com merge (30d)
1

Preparar o ambiente

  • Sem Dockerfile nem arquivo Docker Compose
  • Tem um modelo de pull request
  • Sem guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de pkgxdev/pkgx

Todas as issues de pkgxdev/pkgx

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.