[Exchange and share] v23 glibc版本仍然偏低
Tofloor
poster avatar
风吹过的绿洲
deepin
2023-05-13 04:37
Author

https://github.com/zzzgydi/clash-verge/releases/tag/v1.3.1

jay@jay-PC:~/Downloads$ ./clash-verge_1.3.1_amd64.AppImage
clash-verge: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /tmp/.mount_clash-hud6VQ/usr/lib/l*coregtk-4.0.so.18)

Reply Favorite View the author
All Replies
青稚
deepin
2023-05-13 04:44
#1

https://bbs.deepin.org/zh/post/254141

参考这个教程手动升级一下,有风险。

Reply View the author
root
deepin
2023-05-13 04:47
#2

这是c++库 libstdc++.so.6 版本不是gcc12及更新引发的问题,与glibc无关

这是由于这个应用是使用 g++ 12编译的,而V23是 gcc 11版本 libstdc++.so.6

这是c++编译器版本引发的问题

PS:这样就会造成部分在 ubuntu 22.04的编译的c++程序无法在V23上运行

😜

Reply View the author
enforcee
deepin
2023-05-13 06:36
#3

这种情况切忌直接操作底层库。

如果楼主非常想解决这个问题可以参考我之前写的案例:https://bbs.deepin.org/post/256081

以我的经验来看,也许你只需要把AppImage解包并移除报错的库(l*coregtk-4.0.so.18),然后在系统中用apt安装同名的库文件即可。

Reply View the author
fuuko
deepin
2023-05-13 15:05
#4

不行就把源码拉下来自己编咯proud

Reply View the author
ljq790615
deepin
2023-05-13 17:14
#5

这个不是glibc哦,这是C++库,需要 libstdc++.so.6.0.30 或以上版本才支持:GLIBCXX_3.4.30

安装gcc-12/13后,就没问题了。

gcc-12 包含 C++库, libstdc++.so.6.0.30,支持到:GLIBCXX_3.4.30

gcc-13 包含 C++库, libstdc++.so.6.0.31,支持到:GLIBCXX_3.4.31

另外,你可以通过终端查看一下,系统 C++ 库支持情况:

strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX_

Reply View the author
RX9070
deepin
2023-10-11 08:31
#6
It has been deleted!
风吹过的绿洲
deepin
2023-10-13 22:09
#7
RX9070 It has been deleted!

这个是怎么解决这个问题的呢?你知道吗

Reply View the author
RX9070
deepin
2023-10-14 03:10
#8
It has been deleted!
风吹过的绿洲
deepin
2023-10-18 21:30
#9
RX9070 It has been deleted!

解释一下呀

Reply View the author
disburden
deepin
2023-11-13 11:05
#10
RX9070 It has been deleted!

链接失效了,能放一个新的出来吗?

Reply View the author