Digital Paint Discussion Board

Development => General Development => Topic started by: jitspoe on August 28, 2009, 07:58:27 PM

Title: Building for older GLIBC compatibility
Post by: jitspoe on August 28, 2009, 07:58:27 PM
Given the ease at which Ubuntu installed, I was willing to set aside my differences with Linux, but then I tried to get the executable I compiled running on the server, and I was suddenly filled with reminders on why I hated Linux.

/paintball2: /lib/tls/libc.so.6: version `GLIBC_2.4' not found

Freakin' lack of (backward) compatibility!

I searched around a bit and found this:

http://www.nntp.perl.org/group/perl.beginners/2007/09/msg95520.html

Buy the admin a pizza?  Really??!  That's your solution?  I want to strangle that guy.  The whole "you should build every piece of software on every piece of hardware" mentality drives me nuts.  I can build something on a current copy of windows and run it on Windows 95 if I wanted to.  That's completely out of the question on Linux.

Anyway, is there a way I can build this so it's compatible with older versions of glibc?  There's no way in hell I'm touching the server.  Updating Linux is like playing Jenga.

Edit:  Thank goodness there's a sane developer out there.  Going to give this a go:
http://gbgames.com/blog/2008/04/linux-game-development-glibc_24-not-found/
http://gbgames.com/blog/2008/04/linux-game-development-glibc_24-errors-solved/

Edit2:  Yay!  -fno-stack-protector fixed it.
Title: Re: Building for older GLIBC compatibility
Post by: Zorchenhimer on August 29, 2009, 12:29:11 AM
Hooray!