首页 > 系统相关 >Ubuntu22.04 安装jittor出现“GLIBCXX_3.4.30' not found”

Ubuntu22.04 安装jittor出现“GLIBCXX_3.4.30' not found”

时间:2022-10-12 10:14:35浏览次数:132  
标签:GLIBCXX libstd Ubuntu22.04 30 3.4 so.6 jittor

错误描述

ImportError: /home/username/miniconda3/envs/jittor/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/username/.cache/jittor/jt1.3.5/g++11.3.0/py3.10.6/Linux-5.15.0-5x62/IntelRCoreTMi7xea/default/cu11.8.89_sm_61/jittor_core.cpython-310-x86_64-linux-gnu.so)

检验

使用strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX 核对后发现GLIBCXX_3.4.30存在
运行结果:
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
...
GLIBCXX_3.4.28
GLIBCXX_3.4.29
GLIBCXX_3.4.30
GLIBCXX_DEBUG_MESSAGE_LENGTH

解决方案:

ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /home/username/miniconda3/envs/jittor/bin/../lib/libstdc++.so.6

ref: https://askubuntu.com/questions/1418016/glibcxx-3-4-30-not-found-in-conda-environment

标签:GLIBCXX,libstd,Ubuntu22.04,30,3.4,so.6,jittor
From: https://www.cnblogs.com/hyl2018/p/16783518.html

相关文章