I need to install GLIBCXX 3.4.15 on my Centos 6 version (to run a server for a game on Steam). I've googled around and had several websites where they installed programs where the error appeared where it said that 3.4.15 was needed (LoadLibrary ERROR: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found), but they just used a way to bypass it/not install it.When I did strings /usr/lib/libstdc++.so.6 | grep GLIBCXX, this was the output:GLIBCXX_3.4GLIBCXX_3.4.1GLIBCXX_3.4.2GLIBCXX_3.4.3GLIBCXX_3.4.4GLIBCXX_3.4.5GLIBCXX_3.4.6GLIBCXX_3.4.7GLIBCXX_3.4.8GLIBCXX_3.4.9GLIBCXX_3.4.10GLIBCXX_3.4.11GLIBCXX_3.4.12GLIBCXX_3.4.13GLIBCXX_FORCE_NEWGLIBCXX_DEBUG_MESSAGE_LENGTHSo, how would I directly install GLIBCXX 3.4.15 on Centos 6?
GLIBCXX 3.4.15 on Centos 6
centos
I would consider this a hack but have used it on more occasions than I care to admit to get around compatibility issues with GLIBC, such as the one you're encountering.The hack involves making a link in /usr/lib which includes the name of the library that a particular tool wants. The link then points to alternative name of the library.ExampleSay I wanted to create a link to libstdc++.so.6.$ ls -l /usr/lib | grep libstdc++.solrwxrwxrwx.  1 root root       19 Dec 18  2010 libstdc++.so.6 -> libstdc++.so.6.0.14-rwxr-xr-x   1 root root   950428 Sep 24  2010 libstdc++.so.6.0.14It works out be something like this:$ ln -s libstdc++.so.6 libstdc++.so.6.0.15Checking the results:$ ls -l /usr/lib | grep libstdc++.solrwxrwxrwx.  1 root root       19 Dec 18  2010 libstdc++.so.6 -> libstdc++.so.6.0.14lrwxrwxrwx.  1 root root       19 Dec 18  2010 libstdc++.so.6.0.15 -> libstdc++.so.6.0.14-rwxr-xr-x   1 root root   950428 Sep 24  2010 libstdc++.so.6.0.14But I'm not sure this method will work since you're library will still be missing the version string, GLIBCXX_3.4.15.If the hack is unsuccessful then you'll likely have to bite the bullet and install GLIBC in an alternative directory, and then override LD_LIBRARY_PATH or LD_PRELOAD so that the execution of just steam sees the modified library.Example$ LD_PRELOAD='mylibc.so anotherlib.so' programDetails on how to do this are covered a bit more here in this SO Q&A: Multiple glibc libraries on a single host.