-
Notifications
You must be signed in to change notification settings - Fork 5.9k
/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found #766
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
Comments
me too. |
This is a deadly Bug. |
i resolved this problem. |
@zhy1 How did you solve it? |
I have the same issue |
GLIBCXX_3.4.20' not found GLIBC_2.18' not found |
Just install the new libstdc++.so.6 version You can get it with: |
I read somewhere that someone got the correct library from an Anaconda install. wget https://repo.anaconda.com/archive/Anaconda3-2019.07-Linux-x86_64.sh |
We already set a minimum GLIBC that you'll require so this is closed off. If you're still getting these errors, upgrade to CentOS 8. Or use Docker |
centos system can make a reference on:https://www.jianshu.com/p/050b2b777b9d, it's vlaid, i checked. |
This worked for me on Centos 7. The essential steps were cd /usr/local/lib64 |
Yes, I uesd your way to solve this problem and it worked! @llyons |
This is still the fix in 2024. |
Confirmed on Centos 7 July,2024 |
Perfect solution |
code-server
version: code-server1.1140-vsc1.33.1-linux-x64.tar.gzDescription
./code-server . --host 127.0.0.1
./code-server: /lib64/libstdc++.so.6: version
GLIBCXX_3.4.20' not found (required by ./code-server) ./code-server: /lib64/libstdc++.so.6: version
GLIBCXX_3.4.21' not found (required by ./code-server)./code-server: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./code-server)
solution:
1
GLIBCXX_3.4.20' not found
sudo find / -name "libstdc++.so.6*"
sudo cp somewhere/libstdc++.so.6.0.25 /usr/lib64/
2
GLIBC_2.18' not found
curl -O http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz
tar zxf glibc-2.18.tar.gz
cd glibc-2.18/
mkdir build
cd build/
../configure --prefix=/usr
make -j2
make install
The text was updated successfully, but these errors were encountered: