Linux: app doesn't start on Ubuntu 22.04 — binaries require GLIBC_2.39
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- build-system, desktop, operating-systems, release
Línea de trabajo
Revisa la configuración de compilación y empaquetado de la versión para Linux y luego reproduce el problema en Ubuntu 22.04 usando el comando objdump proporcionado. Se considera completado cuando .deb, AppImage, cap-gpui y cap-cli se ejecuten con glibc 2.35 sin requisitos GLIBC incompatibles, o cuando el paquete rechace claramente los sistemas no compatibles.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
Cap for Linux doesn't start on Ubuntu 22.04 LTS. Clicking the app icon does nothing. When I start it from a terminal, it exits right away with this error:
$ Cap
Cap: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by Cap)
Ubuntu 22.04 ships glibc 2.35. The Linux binaries require glibc 2.39, which is the version in Ubuntu 24.04, so they can't run on 22.04 or any other distro with an older glibc. Ubuntu 22.04 is still a supported LTS release and is widely used.
What I checked:
| Build | Result on 22.04 |
|---|---|
0.6.0 .deb |
Cap, cap-gpui and cap-cli all require GLIBC_2.39 |
| 0.6.0 AppImage | Fails the same way. The bundled libraries (libmount, libdbus-1, libkrb5, libudev, and others) also require GLIBC_2.36 or GLIBC_2.38, because they were copied from the build host |
0.5.2 .deb (oldest Linux build on the versions page) |
Also requires GLIBC_2.39 |
The .deb also installs without errors on 22.04 even though it can't run there, so from the user's side the app just silently does nothing.
Reproduction
- On Ubuntu 22.04, download
Cap_0.6.0_amd64.debfrom cap.so/download - Install it with
sudo apt install ./Cap_0.6.0_amd64.deb. It installs without errors. - Click Cap in the app menu. Nothing happens.
- Run
Capin a terminal to see the glibc error above. - Optional:
objdump -T /usr/bin/Cap | grep -o 'GLIBC_[0-9.]*' | sort -Vu | tail -1printsGLIBC_2.39
Suggestions
- Build the Linux release on an older base, such as an
ubuntu-22.04runner or a manylinux-style container, so the binaries target glibc 2.35. For the AppImage, avoid bundling system libraries like libc-linkedlibmount/libdbustaken from a newer host. - If that isn't possible, add a versioned glibc dependency to the
.deb(for examplelibc6 (>= 2.39)) so apt refuses to install it, and list the minimum distro versions on the download page.
Workaround for anyone else hitting this: running the 0.6.0 .deb inside an ubuntu:24.04 Docker container, with the X11 socket, /dev/dri and the PipeWire/Pulse sockets passed through, starts the app.
Related: #1553 (Linux tracking issue)
Additional Context
- Cap version: 0.6.0 (also checked 0.5.2)
- Operating system, version: Ubuntu 22.04.5 LTS, kernel 6.8.0, X11 session, glibc 2.35
- Device (optional): x86_64, NVIDIA GeForce GTX 1650
- Lenguaje dominante
- Rust
- Estrellas
- 22.8k
- Forks
- 2k
- Merge medio
- 8 h 10 min
- PR fusionados (30 d)
- 83
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CapSoftware/Cap
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
CapSoftware/Cap#2305 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CapSoftware/Cap#1714 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 64/100
CapSoftware/Cap#2360 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Linux: export and editor audio fail with EINVAL under comma-decimal locales (resampler-open)Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 78/100
CapSoftware/Cap#2359 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Feature Request] Editor media library + audio processing (speed & pitch for audio segments)Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
CapSoftware/Cap#2357 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de CapSoftware/Cap
Issues similares
-
area:casework bug criticality:p3 triage:needs-implementation
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
registrystack/registry-stack#1623 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
leptos-rs/leptos#4885 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
longbridge/gpui-kit#3276 ·
Los mantenedores suelen responder en 1 día
-
A-Migration Guides D-Straightforward S-Ready-For-Implementation X-Uncontroversial
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
bevyengine/bevy-website#2607 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día