Skip to content

leomoon-studios/gcc-6.3.0_centos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

This is a build of gcc 6.3.0 .so library file to fix the error below.

How to fix error "/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.20' not found"

wget https://raw.githubusercontent.com/leomoon-studios/gcc-6.3.0_centos/master/libstdc.so.6.0.22.tar.gz -O /tmp/libstdc.tar.gz #download this build
tar -xzf /tmp/libstdc.tar.gz -C /usr/lib64/ #extract it
rm -rf /tmp/libstdc.tar.gz #remove the downloaded file
ls -alF /usr/lib64/libstdc++.so.6* #list all libstdc++
rm -rf /usr/lib64/libstdc++.so.6 #remove the old symlink
ln -s /usr/lib64/libstdc++.so.6.0.22 /usr/lib64/libstdc++.so.6 #make a new symlink to the new build
ls -alF /usr/lib64/libstdc++.so.6* #check that the new sylink exists
strings /usr/lib64/libstdc++.so.6 | grep GLIB #check if GLIBCXX_3.4.20 exists now

Compatibility

Tested with CentOS 7.5

About

Build of gcc 6.3.0 .so library file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published