[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 摘要。