Shahan / teeworlds

A retro multiplayer shooter
http://teeworlds.com
Other
2 stars 2 forks source link

DDRaceServer requires `GLIBCXX_3.4.15' #4

Open littlebylittle opened 11 years ago

littlebylittle commented 11 years ago

Source from branch teeworlds64_test (32 player); I compile server-source in my home computer (linux mint x64), and send binary file to hosting-server; In my home-pc there is no problem. (home: ➤ uname -a Linux GREY 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux)

But when i started server on pc in hosting-server (with older Gentoo), i get message: "libstdc++.so.6: version `GLIBCXX_3.4.15' not found " I have an old version of GCC and update it very long and maybe impossible on virtual server; (Gentoo-server: Linux vps.xx.x.x 2.6.32-openvz-feoktistov.1 #3 SMP Thu Feb 2 05:16:59 MSK 2012 x86_64 Intel(R) Xeon(R) CPU X5650 @ 2.67GHz GenuineIntel GNU/Linux)

I download the latest version of libstdc++, and replaced oldest version with more newest. And that solved the problem; But its hack :(and can cause problem);

Is it possible in source code (make files, bam) add option "compile and link with static libraries" ?

Sorry for bad engrish.

Shahan commented 11 years ago

iDDRace doesn't use anything what vanilla teeworlds doesn't use. If you have the same problems with compiling vanilla teeworlds - I can recommend to ask for help at IRC (webchat.quakenet.org), channel: #teeworlds or #teeworlds-dev. But if everything except iDDRace compiles well - we'll try to find solution. Now iDDRace still has some bugs(cheating score, for example), so don't hurry up untill we fix them :) Also, you can try prerelease (linux x86_x64 binary): http://shahanftp.tk/download.php?file=105be35f0a97ebecdd5e8b2d5234bf32