Cuberite Forum
Error: `GLIBCXX_3.4.19' not found - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Error: `GLIBCXX_3.4.19' not found (/thread-1845.html)



Error: `GLIBCXX_3.4.19' not found - iNkv1zitOR - 03-25-2015

I try to start MCServer, but I get this error:

./MCServer: /lib64/libm.so.6: version `GLIBC_2.15' not found (required by ./MCSe
rver)
./MCServer: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (requi
red by ./MCServer)
./MCServer: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (require
d by ./MCServer)
./MCServer: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (requi
red by ./MCServer)
./MCServer: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (requi
red by ./MCServer)
./MCServer: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (requi
red by ./MCServer)
./MCServer: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./MCSe
rver)

I'm using Centos 6 (64bit)


RE: Error: `GLIBCXX_3.4.19' not found - worktycho - 03-25-2015

CentOS 6 uses glibc version 2.12. The official builds are built with the debian jessie compiler which links against glib 2.15. You either need to install glibc version 2.15 or compile the server from source. Note that if you want to compile the server from source you will need to upgrade the compiler as the gcc version installed on centos 6 (4.4.7) does not support c++11.