Cuberite Forum

Full Version: No start under linux of mcserver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello ;D

I have download the last build from mcserver and unpack on my server. When I startet mcserver, comes this error messages

Code:
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./MCServer)
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./MCServer)
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by ./MCServer)
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by ./MCServer)

I have search with google and I read I must the newest gcc ?

Sorry for my bad englisch, but I comes from germany ;D And so is englisch not my motherlanguage ;D

Greetings

Bogus
What OS are you using? Your glibc version seems outdated.
You can fix this compiling yourself.
Gcc is just a compiler, your version is already compiled, so I don't think GCC is the problem. I might be wrong though, hope the others provide better information.

Your English is readable Smile

Or you could try updating glibc:

If it's Debian/Ubuntu/apt based:
apt-get update && apt-get install libc6

Yum-based:
yum update glibc-*
I use Ubuntu 12.04 .. hmmm .. I think is better upgradet to 14.04 ..Big Grin
Ok, I have now upgradet to Ubuntu 14.04, that is not local PC, is a server. So that now the first error message fixed
Is it all working now?
Do the linux builds target Debian Stable? I'm curious, if glibc is outdated on ubuntu 12.04, certainly it would be on other distros?
The linux builds _should_ target debian stable, but I botched a compiler update and now they need testing.

I'll get around to fixing it this week, I have some time off.
I have now test with the newest build from mcserver. Download from your website. Is the same problem, but now under ubuntu server 14.04

Code:
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./MCServer)
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./MCServer)

Ok, how can I make compiled for myself ? Give a tutorial or so ?

well, but I can wait, then when fixed the problem ;D
Try installing gcc 4.8 on the machine:
Code:
sudo apt-get install gcc-4.8 g++-4.8
This should install all the libraries that are needed for programs compiled using that compiler.
Pages: 1 2