Author Topic: Building for older GLIBC compatibility  (Read 4563 times)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Building for older GLIBC compatibility
« 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.
« Last Edit: August 28, 2009, 08:23:10 PM by jitspoe »

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Building for older GLIBC compatibility
« Reply #1 on: August 29, 2009, 12:29:11 AM »
Hooray!