[BUG] arm64: Telegram fails to start, libjxl.so.0.12 missing

未關閉 適合新手
#11 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
72/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
docker, linux

研究方向

首先檢查儲存庫的 Docker 建置檔案,以及它們如何為 arm64 安裝 telegram-desktop 和 libjxl。使用提供的 docker run 指令重現問題,接著透過 ldd 和 pacman -Q 檢查套件版本與缺少的程式庫。Telegram 在 arm64 上啟動且不再出現 libjxl.so.0.12 和 libjxl_threads.so.0.12 錯誤時,就算完成。

由索引模型根據 Issue 內容生成。

描述

Is there an existing issue for this?
  • I have searched the existing issues
Current Behavior

Tested on arm64: ls101 to ls105 fail with error while loading shared libraries: libjxl.so.0.12: cannot open shared object file.

The image has telegram-desktop 7.4.1-2, which needs libjxl 0.12, but ships libjxl 0.13.0-1. 7.4.4-ls95 works (libjxl 0.12.0-1).

Upstream report: https://archlinuxarm.org/forum/viewtopic.php?t=17446

Expected Behavior

No response

Steps To Reproduce

Reproduce: docker run --rm --entrypoint sh lscr.io/linuxserver/telegram:arm64v8-latest -c 'ldd /usr/bin/Telegram | grep "not found"'

Environment
- OS:
- How docker service was installed:
CPU architecture

arm64

Docker creation
Environment
- OS: macOS 26.6.2, Colima 0.10.3 (VM: Ubuntu 24.04.4 LTS, aarch64)
- How docker service was installed: Colima from Homebrew, Docker Engine 29.5.2

Container logs (from the clean test, trimmed)
Linuxserver.io version: 7.4.7-ls105
Build-date: 2026-12-01T05:28:48+00:00
[ls.io-init] done.
[svc-de] /config/.XDG/wayland-1 found launching de
INFO:main:Selkies 2.2.1 starting: websockets transport, Wayland capture [...]

# The error does not appear in the container log. Running the app shows it:

$ docker exec telegram /usr/bin/Telegram -version
/usr/bin/Telegram: error while loading shared libraries: libjxl.so.0.12: cannot open shared object file: No such file or directory

$ docker exec telegram sh -c 'ldd /usr/bin/Telegram | grep "not found"; pacman -Q telegram-desktop libjxl'
    libjxl.so.0.12 => not found
    libjxl_threads.so.0.12 => not found
telegram-desktop 7.4.1-2
libjxl 0.13.0-1
Container logs
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 7.4.7-ls105
Build-date: 2026-12-01T05:28:48+00:00
───────────────────────────────────────
    
....+.........+++++++++++++++++++++++++++++++++++++++*.+.+......+...............+..+...+...+++++++++++++++++++++++++++++++++++++++*.....+......+..++++++
....+.....+....+..+++++++++++++++++++++++++++++++++++++++*................+.....+......+......+...+....+..+++++++++++++++++++++++++++++++++++++++*....+.+.....+....+..+.......+...+..+...+....+........+.......+...........+....+...+...........+................+...+...+.....+.......+......+...........+....+..+....+.........+..+............+.+..+....+.........+.....+...................+.....+.......+...........+...+......+............................+.....+.+.....+..........+......+.....+....+.....+.+.....+......+.......+..+.+.....+...+......+....+..+.......+..+....+..............+.......+...+...+..+......+.........+.+..+...+....+...+..............+....+.....+....+..+..........+........+.......+.........+.........+...+..............+...+...+...+.+.....+......+...+.+...+...............+.....+.......+...+......+.....+.+...+...........+.+...+..+...+.+.....................+.....+......+...+.......+..................+....................+...............+......+...+.............+............+..+......+.........+.+...+.....+.......+..+..........+............+..............+.+.........+...............+..+...+.+........+.......+...+..+....+.....+....+..+.+............+........+....+...........+.............+.....++++++
-----
[ls.io-init] Creating initial backup of menu.xml
[ls.io-init] Generating labwc rc.xml from template
which: no nvidia-smi in (/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
[custom-init] No custom files found, skipping...
[svc-de] Wayland mode: Waiting for socket at /config/.XDG/wayland-1...
[ls.io-init] done.
2026/12/01 16:21:54 [warn] 270#270: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size
19
20
[pixelflux] No hardware encoder on render node 0 (nvenc): Could not load CUDA library (libcuda.so.1): dlopen failed
[pixelflux] Thread priority -15 refused and rtkit does not grant it; capture threads run at normal priority.
[Wayland] Renderer: software (Pixman), no render node.
[Wayland] View 1 created over output 0: 1024x768 @ (0, 0).
[Wayland] Socket listening on: "wayland-1"
INFO:server:Wayland compositor socket: wayland-1
INFO:main:Selkies 2.2.1 starting: websockets transport, Wayland capture, encoder h264enc at 8-240 fps, sized by the client, audio on, gamepads off, access open.
INFO:server:Starting service: websockets
INFO:gamepad:4 virtual gamepads ready ('Microsoft X-Box 360 pad', sockets under /config/.XDG); kernel uinput off.
INFO:input:Wayland clipboard: native compositor callback active (no polling).
INFO:input:Apps panel enabled: selkies-proot can run here.
INFO:input:Apps installed in this session: none
[svc-de] /config/.XDG/wayland-1 found launching de
INFO:server:Selkies server running on http://[::1]:8082, http://127.0.0.1:8082
INFO:printing:Print queue Selkies listening on /config/.XDG/selkies-cups/cups.sock, spooling to /config/.local/state/selkies/print, on A4 paper
INFO:input:Wayland app compositor 'wayland-0' (auto-detected); routing input + clipboard there, capture stays on 'wayland-1'.
INFO:input:Wayland clipboard: app-compositor data-control watch active (no forks).
主要語言
Dockerfile
星號
9
分支
3
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

相似的 Issue

更多 DevOps Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。