I am installing a package with pip in my conda environment and I keep getting this error:
ImportError: /home/anavani/anaconda3/envs/dmcgb/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libLLVM-13.so.1)
I looked on previous stack overflow posts and found this and I followed what the top comment said to do and ran these commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
When I run strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
to check the latest version of GLIBCXX, I get this output:
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBCXX_3.4.26
GLIBCXX_3.4.27
GLIBCXX_3.4.28
GLIBCXX_3.4.29
GLIBCXX_3.4.30
so I'm not sure what's wrong as GLIBCXX_3.4.30 is installed.
Any help would be appreciated. I am running Ubuntu 22.04 LTS
strings
command you give is just finding alphanum strings in a library file; if you want to know if the system sees that library look atldd
. Also, your error relates to a file beneath your home folder but that strings command is operating on a file in /usr/lib.