Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

AppImage created on Ubuntu 18.04 and does not work in 20.04 because of `GLIBC_2.30' not found error

未关闭
#1,078 25 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
docker, linux, ubuntu

调研方向

首先,在 Ubuntu 18.04 或其 Docker 镜像下复现使用 appimagetool 构建的 AppImage,然后在 Ubuntu 20.04 上进行测试。了解对捆绑的 glibc、libselinux 和自定义 Qt 库的处理方式;完成的标准是 AppImage 在 Ubuntu 20.04 上运行时不会出现 GLIBC_2.30 错误,同时保留自定义 Qt 版本。

由索引模型根据 Issue 内容生成。

描述

Created AppImage with appimagetool under Ubuntu 18.04 or Ubuntu 18.04 docker image, however it works in Ubuntu 18.04 and does not work in 20.04 because of following error:

> ./MyApp.docker.AppImage
mkdir: /tmp/appimage_extracted_246844dbdeeca1f1fe512ed8c7848908/Qt/libs/libc.so.6: 
version `GLIBC_2.30' not found (required by /lib/x86_64-linux-gnu/libselinux.so.1)
*** stack smashing detected ***: <unknown> terminated
Aborted (core dumped)

Any ideas how to solve this? This happened even if I bundle glibs a well. Use higher level tool? linuxdeploy does now work for me as well as it tries to bundle system Qt libraries but need to bundle custom built Qt version (more modern) than installed in the system and does not create AppImage at all.

主要语言
没有语言数据
星标
9.5k
派生
586
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

AppImage/AppImageKit 的其他 Issue

查看 AppImage/AppImageKit 的全部 Issue

相似的 Issue

更多 Build System Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。