Skip to content

[Bug] Linux x86_64 安装包在 Ubuntu 22.04 无法启动:要求 GLIBC_2.38/2.39 #714

Description

@asdlem

受影响区域

Packaging / release / installation

版本或提交

live-agent 1.3.0(LiveAgent-v1.3.0-Linux-x86_64.deb)

环境

  • OS: Ubuntu 22.04.5 LTS
  • Architecture: x86_64 / amd64
  • Deployment: desktop app
  • System GLIBC: 2.35

已安装 README 所列的主要运行依赖:

  • libwebkit2gtk-4.1-0 2.50.4
  • libgtk-3-0 3.24.33
  • libayatana-appindicator3-1 0.5.90

复现步骤

  1. 在 Ubuntu 22.04.5 LTS 上安装 LiveAgent-v1.3.0-Linux-x86_64.deb。

  2. 从应用菜单点击 LiveAgent,或执行:

    /usr/bin/liveagent
  3. 观察程序立即退出且没有窗口。

期望行为

README 声明 Linux x86_64 支持 Ubuntu 22.04+,因此在满足 WebKitGTK 4.1、GTK 3 和 AppIndicator 依赖的 Ubuntu 22.04 上应能正常启动。

实际行为

程序在动态链接阶段立即退出,退出状态为 1,输出:

/usr/bin/liveagent: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /usr/bin/liveagent)
/usr/bin/liveagent: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by /usr/bin/liveagent)

因此从桌面点击时表现为“没有反应”。这不是缺少 WebKitGTK 4.1:相关依赖已安装,但系统 GLIBC 2.35 低于该二进制的实际要求。

相关日志

系统日志中也记录了相同错误,例如:

liveagent: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by liveagent)
liveagent: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by liveagent)

建议

请考虑以下任一方案:

  1. 在 Ubuntu 22.04 或其他目标兼容基线环境中构建 Linux 包,确保产物可使用 GLIBC 2.35;
  2. 在 CI 中增加 GLIBC 符号版本检查,并在 Ubuntu 22.04 上进行安装和启动冒烟测试;
  3. 如果实际最低要求是 Ubuntu 24.04,请相应更新 README 和发布说明,并在包元数据中明确最低运行环境。

我搜索了现有 Issue 和 Pull Request,未发现相同的 GLIBC/Ubuntu 22.04 启动问题。

This is not a security vulnerability.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions