在 linux 22.04 中找不到 GLIBCXX 3.4.29 [已关闭]

问题描述 投票:0回答:1

跑步

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

在我的终端中向我显示:

输出:

GLIBCXX_3.4

到 GLIBCXX_3.4.32 GLIBCXX_可调参数 GLIBCXX_DEBUG_MESSAGE_LENGTH

当我跑步时:

strings /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX

输出为:

GLIBCXX_3.4

到 GLIBCXX_3.4.28 GLIBCXX_DEBUG_MESSAGE_LENGTH

我尝试过所有相关问题的解决方案,但没有一个能正常工作。

我在运行电子应用程序时遇到问题。

显示以下错误:

[email protected] start
electron .

/snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libproxy.so.1)
Failed to load module: /home/kartik/snap/code/common/.cache/gio-modules/libgiolibproxy.so
[11062:0127/154407.668862:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[11062:0127/154407.670354:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[11062:0127/154407.680482:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
^C/home/kartik/Pictures/my-electron-app/node_modules/electron/dist/electron exited with signal SIGINT

我不知道为什么这个错误之王只在我的系统中发现

gcc electron libstdc++
1个回答
0
投票

如果您从 snap 商店安装了 vscode。然后你需要卸载它,然后从vscode网站下载.deb文件并运行它,它会正常运行。

© www.soinside.com 2019 - 2024. All rights reserved.