ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found

简介: ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found

[root@localhost PaddleOCR]# strings /lib64/libstdc++.so.6 | grep 'CXXABI'
CXXABI_1.3
CXXABI_1.3.1
CXXABI_1.3.2
CXXABI_1.3.3
CXXABI_1.3.4
CXXABI_1.3.5
CXXABI_1.3.6
CXXABI_1.3.7
CXXABI_TM_1
[root@localhost PaddleOCR]# find / -name "libstdc++.so*"
/var/lib/docker/overlay2/7d699f9875a57ff23aef51f4fa86426bdf0dd8b6c7a975bef8b9a67702030bfd/diff/usr/lib/x86_64-linux-gnu/libstdc++.so.6
/var/lib/docker/overlay2/7d699f9875a57ff23aef51f4fa86426bdf0dd8b6c7a975bef8b9a67702030bfd/diff/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
/var/lib/docker/overlay2/7d699f9875a57ff23aef51f4fa86426bdf0dd8b6c7a975bef8b9a67702030bfd/diff/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20-gdb.py
/var/lib/docker/overlay2/47e007e5bb18d4b777cc56718ee62d2e570c65756dd9f02be30bc0a0e5940ade/diff/usr/lib/libstdc++.so.6
/var/lib/docker/overlay2/47e007e5bb18d4b777cc56718ee62d2e570c65756dd9f02be30bc0a0e5940ade/diff/usr/lib/libstdc++.so.6.0.22
/var/lib/docker/overlay2/1bd11c34f6fe0bb3b2477301d2ebbd398a13e92fb9c58d55788a53726c63a6f1/diff/usr/lib64/libstdc++.so.6
/var/lib/docker/overlay2/1bd11c34f6fe0bb3b2477301d2ebbd398a13e92fb9c58d55788a53726c63a6f1/diff/usr/lib64/libstdc++.so.6.0.19
/var/lib/docker/overlay2/1bd11c34f6fe0bb3b2477301d2ebbd398a13e92fb9c58d55788a53726c63a6f1/diff/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.19-gdb.py
/var/lib/docker/overlay2/1bd11c34f6fe0bb3b2477301d2ebbd398a13e92fb9c58d55788a53726c63a6f1/diff/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.19-gdb.pyc
/var/lib/docker/overlay2/1bd11c34f6fe0bb3b2477301d2ebbd398a13e92fb9c58d55788a53726c63a6f1/diff/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.19-gdb.pyo
/var/lib/docker/overlay2/7d531d7dd5d453952c3fdc2cbd977e46ce064ba02e1c516e8e6e0df8e8f3a5b3/diff/usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libstdc++.so.6
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/32/libstdc++.so
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/libstdc++.so
/usr/lib64/libstdc++.so.6
/usr/lib64/libstdc++.so.6.0.19
/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.19-gdb.py
/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.19-gdb.pyc
/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.19-gdb.pyo
[root@localhost PaddleOCR]#

目前服务器上包是:libstdc++.so.6.0.19,下载一个libstdc++.so.6.0.26

下载依赖包

链接:https://pan.baidu.com/s/10N8uSlu5LNRdT9XT_no38g?pwd=xegh

提取码:xegh

上传到目录里面/usr/lib64/并解压

[root@localhost PaddleOCR]# cd /usr/lib64/
# 解压
[root@localhost lib64]# unzip libstdc.so_.6.0.26.zip
Archive:  libstdc.so_.6.0.26.zip
  inflating: libstdc++.so.6.0.26     
# 备份原来的libstdc++.so.6
[root@localhost lib64]# mv libstdc++.so.6 libstdc++.so.6.bak
# 创建新的的libstdc++.so.6
[root@localhost lib64]# ln -s libstdc++.so.6.0.26 libstdc++.so.6
# 查看版本
[root@localhost lib64]# strings /usr/lib64/libstdc++.so.6|grep CXXABI
CXXABI_1.3
CXXABI_1.3.1
CXXABI_1.3.2
CXXABI_1.3.3
CXXABI_1.3.4
CXXABI_1.3.5
CXXABI_1.3.6
CXXABI_1.3.7
CXXABI_1.3.8
CXXABI_1.3.9
CXXABI_1.3.10
CXXABI_1.3.11
CXXABI_1.3.12
CXXABI_TM_1
CXXABI_FLOAT128
CXXABI_1.3
CXXABI_1.3.11
CXXABI_1.3.2
CXXABI_1.3.6
CXXABI_FLOAT128
CXXABI_1.3.12
CXXABI_1.3.9
CXXABI_1.3.1
CXXABI_1.3.5
CXXABI_1.3.8
CXXABI_1.3.4
CXXABI_TM_1
CXXABI_1.3.7
CXXABI_1.3.10
CXXABI_1.3.3
[root@localhost lib64]#

相关实践学习
阿里云图数据库GDB入门与应用
图数据库(Graph Database,简称GDB)是一种支持Property Graph图模型、用于处理高度连接数据查询与存储的实时、可靠的在线数据库服务。它支持Apache TinkerPop Gremlin查询语言,可以帮您快速构建基于高度连接的数据集的应用程序。GDB非常适合社交网络、欺诈检测、推荐引擎、实时图谱、网络/IT运营这类高度互连数据集的场景。 GDB由阿里云自主研发,具备如下优势: 标准图查询语言:支持属性图,高度兼容Gremlin图查询语言。 高度优化的自研引擎:高度优化的自研图计算层和存储层,云盘多副本保障数据超高可靠,支持ACID事务。 服务高可用:支持高可用实例,节点故障迅速转移,保障业务连续性。 易运维:提供备份恢复、自动升级、监控告警、故障切换等丰富的运维功能,大幅降低运维成本。 产品主页:https://www.aliyun.com/product/gdb
目录
相关文章
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available
|
并行计算
解决Could not load dynamic library ‘libcudart.so.11.0‘; dlerror: libcudart.so.11.0
解决Could not load dynamic library ‘libcudart.so.11.0‘; dlerror: libcudart.so.11.0
3329 0
|
7月前
|
Python
错误:/lib64/libc.so.6: version `GLIBC_2.14’ not found 解决办法
错误:/lib64/libc.so.6: version `GLIBC_2.14’ not found 解决办法
421 0
|
Ubuntu 关系型数据库 MySQL
libmysqlclient.so.18(libmysqlclient.so.20 libmysqlclien.so) => not found
libmysqlclient.so.18(libmysqlclient.so.20 libmysqlclien.so) => not found
883 0
libmysqlclient.so.18(libmysqlclient.so.20 libmysqlclien.so) => not found
|
Linux C++
/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found问题解决方法
/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found问题解决方法
2166 0
|
Python
解决loaded more than 1 DLL from .libs和No metadata found in lib\site-packages两个错误
解决loaded more than 1 DLL from .libs和No metadata found in lib\site-packages两个错误
608 0
|
Python
ld: library not found for -lssl
ld: library not found for -lssl
79 0
|
编译器 Linux
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found
1312 0
Error: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8‘ not found (required by /usr/anaconda3/bin/)
Error: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8‘ not found (required by /usr/anaconda3/bin/)
603 0
Error: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8‘ not found (required by /usr/anaconda3/bin/)