project-navigation
Personal tools

Author Topic: The 2.1 was compiled against glibc_2.4  (Read 4540 times)

Offline Wh1sper

  • Rookie
  • ***
  • Posts: 64
    • View Profile
The 2.1 was compiled against glibc_2.4
« on: April 02, 2007, 04:07:03 pm »
Quote
ldd ufo
./ufo: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by ./ufo)

I think that is because the developer uses ubuntu. Correct me if I am wrong.
So the problem is ubuntu is  using 2.4.x
In debian etch and unstable there is 2.3.6 used.
To solve this one can compile the engine by himself, no problem. But I wonder what other Linux distributions libraries have. Say the mainstream RedHat, Suse, Mandriva and so on: Are they all come with glibc 2.4.x ?
I think  that Ubuntu uses a never real released Version. The next stable is 2.5.x
It comes to my mind that more people have trouble with 2.4.x than they would have with 2.3.x
Please other Linux Users tell me your recent distribution and if ufoai runs or not, thank you.
And if I am completly on the wrong way, tell it, too :)
But please keep simple English so I can understand it, thanks ;)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
The 2.1 was compiled against glibc_2.4
« Reply #1 on: April 02, 2007, 04:16:32 pm »
you are right - i've made some mistakes while compiling the linux binaries
* linked the ufo binary against libjack - mistake - only snd_jack.so have to be linked against libjack of course
* linked against glibc 2.4
* no 64bit binaries in the linux installer

if you encounter problems, please recompile from source tarball and just exchange the binaries

Offline Wh1sper

  • Rookie
  • ***
  • Posts: 64
    • View Profile
The 2.1 was compiled against glibc_2.4
« Reply #2 on: April 02, 2007, 05:17:01 pm »
Ok, but I need a little help :
Code: [Select]
/usr/lib/games/ufoai/snd_alsa.so: undefined symbol: snd_pcm_open
Is my Alsa  too old?
Code: [Select]
ii  alsa-base                               1.0.13-5                             ALSA driver configuration files
ii  alsa-oss                                1.0.12-1                             ALSA wrapper for OSS applications
ii  alsa-utils                              1.0.13-2                             ALSA utilities
ii  libasound2                              1.0.13-2                             ALSA library
ii  libasound2-dev                          1.0.13-2                             ALSA library development files


Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
The 2.1 was compiled against glibc_2.4
« Reply #3 on: April 02, 2007, 05:40:21 pm »
i have even older versions...

did you build from source now?

Offline Wh1sper

  • Rookie
  • ***
  • Posts: 64
    • View Profile
The 2.1 was compiled against glibc_2.4
« Reply #4 on: April 02, 2007, 06:32:23 pm »
My failure, I should copy copy binaries AND libraries, too :)
The game runs now.

Today I have no time anymore. Maybe tomorrow I'm posting an article in German... ;)

cator

  • Guest
The 2.1 was compiled against glibc_2.4
« Reply #5 on: April 05, 2007, 12:24:13 am »
I am glad to see new version of the game as I love the game!  :D
But I was upset when I could not run it in the Linux  :(
I have Mandriva 2007, and when I tried to run I got error - it could not find libjack-0.100.0.so.0  :? Well, 2.0-rc5, while it was quite unstable with memory, was able to start and work (somehow  :) )
Actually I like your style with setup package for Linux - quite professional! But it made me sad that it seems not all libs were included in the last package. I assume this issue could be related with what Wh1sper posted. And, just guess, maybe I need to install the package under su? (hmm did not try but I thought it must work under normal user as it worked for rc5).

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
The 2.1 was compiled against glibc_2.4
« Reply #6 on: April 05, 2007, 09:12:49 am »
linking against libjack was a build system error - which is fixed for 2.1.1

it would be nice if you could maybe test the updated installer at http://mattn.ninex.info/download (but please note, that they are not 2.1 - (even if the version says this) they might be unstable and there are still no x86_64 binaries included.

Offline tempsanity

  • Rookie
  • ***
  • Posts: 53
    • View Profile
The 2.1 was compiled against glibc_2.4
« Reply #7 on: April 05, 2007, 09:23:15 am »
Quote from: "cator"

I have Mandriva 2007, and when I tried to run I got error - it could not find libjack-0.100.0.so.0


Find your version of jack and symlink it.
Example for Arch Linux: http://ufoai.ninex.info/phpBB2/viewtopic.php?t=1238

About symlinking: http://www.linuxforums.org/forum/linux-newbie/65415-creating-symlink.html

cator

  • Guest
The 2.1 was compiled against glibc_2.4
« Reply #8 on: April 06, 2007, 01:22:11 am »
Thanks guys. The problem seems unrelated to libjack (I was able to link to it but I just thought that I have old version - it required 0.100). But now I downloaded new version of installer (with link given by Mattn) and it generates same error which displayed in primary version and libjack linked - segmention error. Something with memory :(
It also reported about
Code: [Select]
Error: Com_ParseNames: 'shevaar' has no neutral lastname category just after saving initial user settings.
What could be a problem?