server v2.4 x86_64 has bad ELF interpreter

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators


  • OS: Fedora 7 x64
    Fresh download of nexuiz-24.zip
    Unzipped into /usr/local/games -> creating /usr/local/games/Nexuiz

    soft-linked Docs/server/server_pro_linux.sh into /usr/local/games/Nexuiz
    ditto with server.cfg
    ran ./server_pro_linux.sh

    Got the following as output:
    Code: Select all
    $ ./server_pro_linux.sh
    ./server_pro_linux.sh: /usr/local/games/Nexuiz/nexuiz-linux-x86_64-dedicated: /lib/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
    ./server_pro_linux.sh: line 11: /usr/local/games/Nexuiz/nexuiz-linux-x86_64-dedicated: Success

    This is because ld-linux-x86_64.so.2 is in /lib64 - not /lib.

    How does one go about rectifying this :?:

    I suppose I could softlink the library, but that may cause more problems elsewhere, or repeat for other libraries that the executable can't find.
    LaughingBoy
    Newbie
     
    Posts: 9
    Joined: Tue Mar 04, 2008 8:04 am
    Location: Adelaide, SA, Australia

Tue Mar 04, 2008 8:27 am

Tue Mar 04, 2008 8:41 am

  • Yes, I do have the required library. It's in /lib64 - not /lib as requested. It's a 64-bit library found under /lib64 - the places for 64 bit libraries. The executable is looking in /lib - the place for 32-bit libraries.
    LaughingBoy
    Newbie
     
    Posts: 9
    Joined: Tue Mar 04, 2008 8:04 am
    Location: Adelaide, SA, Australia

Tue Mar 04, 2008 9:01 am

  • I've compiled the application from source, and the server appears to run OK. Some tweaking required it would seem. Will see how we go. Might work until a fix can be found. Or, until it's released in a repo update sometime soon...
    LaughingBoy
    Newbie
     
    Posts: 9
    Joined: Tue Mar 04, 2008 8:04 am
    Location: Adelaide, SA, Australia

Tue Mar 04, 2008 9:42 am

  • LaughingBoy wrote:Yes, I do have the required library. It's in /lib64 - not /lib as requested. It's a 64-bit library found under /lib64 - the places for 64 bit libraries. The executable is looking in /lib - the place for 32-bit libraries.


    why would 32 bit libs be in /lib instead of /lib32? :O
    odd system you have there :P
    User avatar
    Blµb
    Alien trapper
     
    Posts: 277
    Joined: Thu Mar 29, 2007 1:49 pm

Tue Mar 04, 2008 9:50 am

  • Blµb wrote:
    LaughingBoy wrote:Yes, I do have the required library. It's in /lib64 - not /lib as requested. It's a 64-bit library found under /lib64 - the places for 64 bit libraries. The executable is looking in /lib - the place for 32-bit libraries.


    why would 32 bit libs be in /lib instead of /lib32? :O
    odd system you have there :P
    The same reason that Windows runs C:\Program Files and C:\Program Files x86 - so they can be told apart.

    If your system can run both 64 bit and 32 bit applications, then you need a place for those libraries that aren't on top of each other. As 64 bit was newer to the scene, and they didn't want to break 32 bit stuff, I'm assuming they put the 64bit libraries in their own (new) directory ...

    Aw heck I don't know - I'm not a Fedora developer. That's just the way they seem to work.

    I'll download Fedora 9a and see if they still do that.
    LaughingBoy
    Newbie
     
    Posts: 9
    Joined: Tue Mar 04, 2008 8:04 am
    Location: Adelaide, SA, Australia

Tue Mar 04, 2008 10:27 am

Wed Mar 05, 2008 12:17 am

  • esteel wrote:Oh, maybe this was changed by Fedora between releases.. so it seems the build system Nex 2.4 was build on has it one way and your system has it the other way round..
    At least building them yourself helps :D
    Yeah, I just verified with Fedora 9a x64 - they also use /lib64 for the 64 bit libraries. I thought the comments about the Fedora 7 system being "too old" were unjustified, but I wasn't sure. Now I know.

    I guess that's why it takes a while for it to be released to the repos.

    Any idea what system / distro the release was built on :?:
    LaughingBoy
    Newbie
     
    Posts: 9
    Joined: Tue Mar 04, 2008 8:04 am
    Location: Adelaide, SA, Australia

Wed Mar 05, 2008 8:32 am

Thu Mar 06, 2008 9:20 am

  • esteel wrote:I think the 2.4 release was build on a current debian stable
    And that hotfix on an CentOS stable?
    I think I'll wait until v2.4.1 is out, and released via the Fedora repos.
    LaughingBoy
    Newbie
     
    Posts: 9
    Joined: Tue Mar 04, 2008 8:04 am
    Location: Adelaide, SA, Australia



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest