[ Technical exchange] 玲珑打包version `GLIBC_2.38' not found问题如何解决
Tofloor
poster avatar
璃晨Kass
deepin
2025-03-05 19:41
Author

今天尝试玲珑包应用时打包过程中遇到version GLIBC_2.38' not found问题,打包出来的UAB包安装后打开时还是报version GLIBC_2.38' not found,如何才能解决

ll-build build打包时报警内容

Warning:Unexpected line format: '/opt/apps/com.github.pot.linyaps/files/pot/bin/pot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /opt/apps/com.github.pot.linyaps/files/lib/libicui18n.so.74)' split into 9 partsWarning:Unexpected line format: '/opt/apps/com.github.pot.linyaps/files/pot/bin/pot: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /opt/apps/com.github.pot.linyaps/files/lib/libicui18n.so.74)' split into 9 partsWarning:Unexpected line format: '/opt/apps/com.github.pot.linyaps/files/pot/bin/pot: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /opt/apps/com.github.pot.linyaps/files/lib/libicuuc.so.74)' split into 9 partsWarning:Unexpected line format: '/opt/apps/com.github.pot.linyaps/files/pot/bin/pot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /opt/apps/com.github.pot.linyaps/files/lib/libicuuc.so.74)' split into 9 partsWarning:Unexpected line format: '/opt/apps/com.github.pot.linyaps/files/pot/bin/pot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /opt/apps/com.github.pot.linyaps/files/lib/libgstreamer-1.0.so.0)' split into 9 partsWarning:Unexpected line format: '/opt/apps/com.github.pot.linyaps/files/pot/bin/pot: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /opt/apps/com.github.pot.linyaps/files/lib/libjxl.so.0.7)' split into 9 partsDebug:/opt/apps/com.github.pot.linyaps/files/lib/libc.so.6 is an executable binary, processing ...Debug:checking donestart application configure check/usr/libexec/linglong/builder/helper/symbols-strip.sh
striped /opt/apps/com.github.pot.linyaps/files/pot/bin/pot to /opt/apps/com.github.pot.linyaps/files/lib/debug/.build-id/83/b4c05314f0f86738c85361e0ae913cef8acd14.debug
[Install Files]
Package                    Version        Module         Status
com.github.pot.linyaps     3.0.6.0        develop        complete
com.github.pot.linyaps     3.0.6.0        binary         complete[Commit Contents]
Package                    Version        Module         Status
com.github.pot.linyaps     3.0.6.0        binary         complete
com.github.pot.linyaps     3.0.6.0        develop        complete
Successfully build com.github.pot.linyaps

uab包安装后打开时

/opt/apps/com.github.pot.linyaps/files/pot/bin/pot: /lib/x86_64-linux-gnu/libc.so.6: version ​GLIBC_2.38' not found (required by /opt/apps/com.github.pot.linyaps/files/lib/libicui18n.so.74) /opt/apps/com.github.pot.linyaps/files/pot/bin/pot: /lib/x86_64-linux-gnu/libm.so.6: version ​GLIBC_2.38' not found (required by /opt/apps/com.github.pot.linyaps/files/lib/libicui18n.so.74)
/opt/apps/com.github.pot.linyaps/files/pot/bin/pot: /lib/x86_64-linux-gnu/libm.so.6: version ​GLIBC_2.38' not found (required by /opt/apps/com.github.pot.linyaps/files/lib/libicuuc.so.74) /opt/apps/com.github.pot.linyaps/files/pot/bin/pot: /lib/x86_64-linux-gnu/libc.so.6: version ​GLIBC_2.38' not found (required by /opt/apps/com.github.pot.linyaps/files/lib/libicuuc.so.74)
/opt/apps/com.github.pot.linyaps/files/pot/bin/pot: /lib/x86_64-linux-gnu/libc.so.6: version ​GLIBC_2.38' not found (required by /opt/apps/com.github.pot.linyaps/files/lib/libgstreamer-1.0.so.0) /opt/apps/com.github.pot.linyaps/files/pot/bin/pot: /lib/x86_64-linux-gnu/libm.so.6: version ​GLIBC_2.38' not found (required by /opt/apps/com.github.pot.linyaps/files/lib/libjxl.so.0.7)
(13271) ./apps/ll-builder/src/main.cpp:721 [code -1 ] message:
./libs/linglong/src/linglong/builder/linglong_builder.cpp:1515 run application
./libs/linglong/src/linglong/runtime/container.cpp:189 run container 869413625fd65983593cc944d7f01a5ada6e74e9aa9bb5601f45f4db7108cd37: cli run: run command failed: /usr/bin/ll-box --cgroup-manager=disabled run -b /run/user/1000/linglong/869413625fd65983593cc944d7f01a5ada6e74e9aa9bb5601f45f4db7108cd37 869413625fd65983593cc944d7f01a5ada6e74e9aa9bb5601f45f4db7108cd37 retval=65280
Reply Favorite View the author
All Replies
mozixun
Moderator
2025-03-05 19:56
#1

Runtime用org.deepin.base呢

(而且pot翻译软件我试了一下貌似不能在玲珑环境里跑,不论是v20还是v23的runtime

Reply View the author
璃晨Kass
deepin
2025-03-05 20:07
#2
mozixun

Runtime用org.deepin.base呢

(而且pot翻译软件我试了一下貌似不能在玲珑环境里跑,不论是v20还是v23的runtime

我试一下

Reply View the author
璃晨Kass
deepin
2025-03-05 20:10
#3
mozixun

Runtime用org.deepin.base呢

(而且pot翻译软件我试了一下貌似不能在玲珑环境里跑,不论是v20还是v23的runtime

无解 报:version `GLIBC_2.34' not found

Reply View the author
neko
deepin
Ecological co-builder
Resources Team Moderator
2025-03-05 20:13
#4

套个ablrun环境,论坛搜索ablrun

Reply View the author
神末shenmo
deepin
Spark-App
Solutions Team Moderator
2025-03-05 21:28
#5

ablrun 挂一个 https://gitee.com/spark-store-project/additional-base-lib

@kero990 好像有别的方案,戳一下~

Reply View the author