[bug] 记录version `GLIBCXX_3.4.29‘ not found 解决方法

发布于:2023-08-24 ⋅ 阅读:(58) ⋅ 点赞:(0)

在使用mediapipe 这个库的时候,首次使用出现 `GLIBCXX_3.4.29’ not found 错误,
在这里插入图片描述

看起来是安装mediapipe 的时候自动升级了 matplotlib 这个库,导致依赖的 libstd++.so 版本不满足了,GLIBCXX_3.4.29 is an object from libstdc++.so.6.0.29 . 需要 g++11才支持。

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX 显示支持的 GLIBCXX版本,下面是升级后的
在这里插入图片描述
解决办法

sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt install -y g++-11

网站公告

今日签到

点亮在社区的每一天
去签到