[Repository/Mirror] 安装苹果swift语言时提示libstdc++.so.6 需要3.4.30版本
Tofloor
poster avatar
祝好
deepin
2022-09-14 20:09
Author

在swift.org下载了swift-5.7 for ubuntu22.04版本。

解压到deepin 20.7社区版 usr目录。运行swift -v报如下错误:

swift: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by swift)

经查系统自带版本最高到3.4.29。仓库也没有更新版本。

不知道有什么办法处理。

Reply Favorite View the author
All Replies
enforcee
deepin
2022-09-14 21:00
#1

换一个旧版Ubuntu的试试

Reply View the author
babyfengfjx
Super Moderator
CQA
2022-09-14 21:11
#2
  • 这类基础库包估计在20版本不会有进一步更新啦;
  • 看使用低版本的应用是否可以。
Reply View the author
祝好
deepin
2022-09-14 21:19
#3
babyfengfjx
  • 这类基础库包估计在20版本不会有进一步更新啦;
  • 看使用低版本的应用是否可以。

我装的应该是23preview

Reply View the author
zccrs
deepin
2022-09-14 23:38
#4

“swift-5.7 for ubuntu22.04” 只能说这个版本不合适,看看 swift 有没有其它版本的

Reply View the author
ljq790615
deepin
2022-09-15 05:29
#5

每个大版本的基础库一般都不怎么更新,这是制约很多软件新版本以来不满足的主要原因。所以沙箱累的软件包就产生了。

Reply View the author