Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Linux: app doesn't start on Ubuntu 22.04 — binaries require GLIBC_2.39

オープン
#2,302 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust, tauri, ubuntu

調査の方向性

Linux リリースのビルドおよびパッケージング設定を確認し、提供された objdump コマンドを使って Ubuntu 22.04 で問題を再現します。.deb、AppImage、cap-gpui、cap-cli が互換性のない GLIBC 要件なしに glibc 2.35 で実行できるか、またはパッケージがサポート対象外のシステムを明確に拒否すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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
  1. On Ubuntu 22.04, download Cap_0.6.0_amd64.deb from cap.so/download
  2. Install it with sudo apt install ./Cap_0.6.0_amd64.deb. It installs without errors.
  3. Click Cap in the app menu. Nothing happens.
  4. Run Cap in a terminal to see the glibc error above.
  5. Optional: objdump -T /usr/bin/Cap | grep -o 'GLIBC_[0-9.]*' | sort -Vu | tail -1 prints GLIBC_2.39
Suggestions
  • Build the Linux release on an older base, such as an ubuntu-22.04 runner or a manylinux-style container, so the binaries target glibc 2.35. For the AppImage, avoid bundling system libraries like libc-linked libmount/libdbus taken from a newer host.
  • If that isn't possible, add a versioned glibc dependency to the .deb (for example libc6 (>= 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
主要言語
Rust
スター
22.5k
フォーク
1.9k
平均マージ
6時間 33分
マージ済み PR(30日)
77

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CapSoftware/Cap のほかの issue

CapSoftware/Cap の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。