-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libstdc++.so.6: version `GLIBCXX_3.4.22' not found #13
Comments
Hi, you're needs upgrade libstd. apt-get update
apt-get install libstdc++6 |
to use the correct version of libstdc++, you can copy over the libraries you linked against to the target machine. On the machine that you used to compile tensorflow, copy over all files |
I ran into the same issue while installing tensorflow 1.8.0 on Ubuntu-Mate 1604. libstdc++6 package had already been update to its latest version. I tried the command strings on /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
The following instructions helped me upgrade libstdc++6 : |
I originally encountered this error message after trying to run Matrix Laboratory from the terminal command prompt. I encountered a thread on Matlab answers that helped fix the problem. This may or may not apply in your particular situation, but it is worth giving this a try. I posted a link to the original discussion thread at the bottom. Try these commands, you need to upgrade your libstdc++6 version. If first command can't run, just run other three. I hope it can help you. %code |
@wette |
thanks very much |
Hi, guys, just use this command to upgrade libstdc++6 is enough: In summary: |
@detectRecog your suggestion works for me, thanks |
@detectRecog thank u so much, it works fine for me |
@mwycliff |
Install libstdc++-6-dev |
I have really to thank you!!! I lost some hours trying to get a solution and you gave me it. One more time thank you :D |
上述的办法好像有的404了,根据这个博客,进行替换更高版本的libstdc++.so.6即可,我选的是libstdc++.so.6.0.26解决了,这问题太折磨人了 |
this works for me, thank you so much |
It's worked for me, thank you so much!! |
请用英语交流 |
I'm using Debian 11 and trying to import a KerasClassifiier |
We are using redhat 7.9 version and getting same error /lib64/libstdc++.so.6: version 'GLIBCXX_3.4.22' not found. But here we don't have internet to update the version. Any guidance if we can upgrade this one offline |
I use "conda install -c conda-forge gcc=12.1.0" fix 'GLIBCXX_3.4.30' not found error |
It was the last line that really worked: sudo apt-get upgrade libstdc++6 It worked for my error: ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found |
this worked, thanks |
The general consensus works for me sudo apt-get install software-properties-common # If add-apt-repository is missing
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get upgrade libstdc++6 Can anyone explain WHY this external repository and upgrade are needed? If I already have I would expect |
https://stackoverflow.com/questions/44205687/glibcxx-3-4-21-not-found-on-centos-7/78175490#78175490 |
I meet problem in Ubuntu22 for runing |
I have tried this solution. But it doesn't work for me. Kindly help me. |
Hi,
This is a great project. When I install it in my pi 3B and import tensorflow,there had a importerror:ImportError: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/local/lib/python2.7/dist-packages/tensorflow/python/_pywrap_tensorflow_internal.so)
The text was updated successfully, but these errors were encountered: