linux: ELF file OS ABI invalid

Post here if you have any technical or installation issues or questions about the mod. Please read the readme's thoroughly before posting.
sezero
Picked up the Mace
Posts: 13
Joined: Thu Nov 18, 2010 1:05 pm

linux: ELF file OS ABI invalid

Postby sezero » Thu Nov 18, 2010 1:21 pm

I am getting following error:

-----------------------------------------------------------------------
$ ./doom3 +set fs_game eoc
[...]
found DLL in pak file: /home/LoginName/opt/doom3/eoc/game01.pk4/gamex86.so
copy gamex86.so to /home/LoginName/.doom3/eoc/gamex86.so
dlopen '/home/LoginName/.doom3/eoc/gamex86.so' failed: /home/LoginName/.doom3/eoc/gamex86.so: ELF file OS ABI invalid
Regenerated world, staticAllocCount = 0.
Shutting down sound hardware
----------- Alsa Shutdown ------------
close pcm
dlclose
--------------------------------------
idRenderSystem::Shutdown()
Sys_Error: couldn't load game dynamic library
-----------------------------------------------------------------------

This is on i686-fedora9 with doom3 version 1.3.1.1304 linux-x86 Jan 16 2007 21:58:02. The original game is running just fine. EOC zip file is 637,269,691 bytes, md5sum:
a7c51694a2c3bf58840b9e40bb36eb4e hexen_edge_of_chaos_demo_0.1.zip

User avatar
BloodRayne
Finished the First Round!
Posts: 361
Joined: Fri Aug 07, 2009 1:49 pm
Location: Netherlands
Contact:

Re: linux: ELF file OS ABI invalid

Postby BloodRayne » Thu Nov 18, 2010 1:24 pm

I'll tip our coder to take a look, perhaps he can help you? :D
Lunchmeataphobia.
Think! It ain't illegal yet!

sezero
Picked up the Mace
Posts: 13
Joined: Thu Nov 18, 2010 1:05 pm

Re: linux: ELF file OS ABI invalid

Postby sezero » Thu Nov 18, 2010 1:27 pm

I'd appreciate it, thank you.

Off topic: I assume your game.so source won't be available?

deadite4
Site Admin
Posts: 654
Joined: Fri Aug 07, 2009 2:58 pm
Location: Any Town, USA
Contact:

Re: linux: ELF file OS ABI invalid

Postby deadite4 » Thu Nov 18, 2010 4:28 pm

At the moment it's not. It may eventually be. Thing is the source still has bugs and such that need to be worked out. Our coder was thinking of releasing it, but it is still unfinished.

Your having the same problems another person is having it seems. OS ABI invalid.
Sounds Great. Do it again.

User avatar
zeroth
Picked up the Serpent Staff
Posts: 90
Joined: Fri Aug 07, 2009 4:09 pm
Location: Portage, MI
Contact:

Re: linux: ELF file OS ABI invalid

Postby zeroth » Thu Nov 18, 2010 6:25 pm

I'm not sure what that means. I looked up ABI and found this: http://encyclopedia2.thefreedictionary. ... +Interface

my first guess is to check the MD5 sum, but I assume deadite already confirmed that.
my second guess is that there's a lib that doom3 uses which isn't quite right.

please exectute this and mail us (hexen.team at gmail dot com) the fail.log file that it generates:

strace doom3 +set fs_game eoc 2> fail.log

sezero
Picked up the Mace
Posts: 13
Joined: Thu Nov 18, 2010 1:05 pm

Re: linux: ELF file OS ABI invalid

Postby sezero » Thu Nov 18, 2010 7:53 pm

fail.log attached as you requested
Attachments
fail.log.bz2
stderr output from strace ./doom3 +set fs_game eoc 2> fail.log
(95.8 KiB) Downloaded 187 times

User avatar
zeroth
Picked up the Serpent Staff
Posts: 90
Joined: Fri Aug 07, 2009 4:09 pm
Location: Portage, MI
Contact:

Re: linux: ELF file OS ABI invalid

Postby zeroth » Thu Nov 18, 2010 8:17 pm

give me some time to look it over and figure things out

sezero
Picked up the Mace
Posts: 13
Joined: Thu Nov 18, 2010 1:05 pm

Re: linux: ELF file OS ABI invalid

Postby sezero » Thu Nov 18, 2010 11:39 pm

Note that ldd reports "not a dynamic executable" for your eoc/gamex86.so, however it does report dependencies for base/gamex86.so as expected.

deadite4
Site Admin
Posts: 654
Joined: Fri Aug 07, 2009 2:58 pm
Location: Any Town, USA
Contact:

Re: linux: ELF file OS ABI invalid

Postby deadite4 » Fri Nov 19, 2010 4:57 am

have you tried any other doom 3 mods? Cdoom and LMS I know each use Doom 3 1.3.1 custom DLL's. Am interested if this is a problem only with eoc, or doom 3 mod DLL's in general for you.
Sounds Great. Do it again.

sezero
Picked up the Mace
Posts: 13
Joined: Thu Nov 18, 2010 1:05 pm

Re: linux: ELF file OS ABI invalid

Postby sezero » Fri Nov 19, 2010 9:36 am

cdoom gave a Sys_Error (wrong game DLL API version) probably because it wasn't compiled against doom3-1.3.1. lms4 loaded fine.

deadite4
Site Admin
Posts: 654
Joined: Fri Aug 07, 2009 2:58 pm
Location: Any Town, USA
Contact:

Re: linux: ELF file OS ABI invalid

Postby deadite4 » Fri Nov 19, 2010 2:35 pm

You probably had the wrong CDoom version. CDoom 1.3.1 uses the SDK for 1.3.1.

LMS 4?

Can you give a condump of just your doom 3 console?

condump doom3.txt
Sounds Great. Do it again.

sezero
Picked up the Mace
Posts: 13
Joined: Thu Nov 18, 2010 1:05 pm

Re: linux: ELF file OS ABI invalid

Postby sezero » Fri Nov 19, 2010 5:20 pm

You probably had the wrong CDoom version. CDoom 1.3.1 uses the SDK for 1.3.1.


Well, I downloaded the only linux version on their page, and since lms already loads its gase.so the problem is yours.

LMS 4?


I already said that lms loads fine, can't understand the question otherwise.

Can you give a condump of just your doom 3 console?
condump doom3.txt


Since eoc does not load, I assume you want the dump from the base game. attached as doom3.txt.
EDIT: Re-attaching, something went wrong the previous time.
Attachments
doom3.txt.gz
console dump from the base game
(4.3 KiB) Downloaded 183 times

deadite4
Site Admin
Posts: 654
Joined: Fri Aug 07, 2009 2:58 pm
Location: Any Town, USA
Contact:

Re: linux: ELF file OS ABI invalid

Postby deadite4 » Fri Nov 19, 2010 6:15 pm

sezero wrote:Well, I downloaded the only linux version on their page, and since lms already loads its gase.so the problem is yours.


Being people have already been successfully playing eoc under linux, that statement isn't entirely true.

Code: Select all

/home/LoginName/opt/doom3/eoc/game01.pk4/gamex86.so


Doom 3 from your condump

Code: Select all

found DLL in pak file: /home/ozzie/opt/doom3/base/game01.pk4/gamex86.so


What's that about.
Sounds Great. Do it again.

sezero
Picked up the Mace
Posts: 13
Joined: Thu Nov 18, 2010 1:05 pm

Re: linux: ELF file OS ABI invalid

Postby sezero » Fri Nov 19, 2010 6:45 pm

Being people have already been successfully playing eoc under linux, that statement isn't entirely true.
Well, for me it does not load, so I obviously can't give you a dump for eoc.

FWIW, I remember that I downloaded from idgames.de. If you are testing with your own copy, did you try downloading what is online and see it is the same and that it loads successfully? (the *.so in the zip file may be a corrupted one somehow... its md5sum is 0076f1af86caf68c073310d5b3ed1122.)

What's that about.
If you are referring to the discrepancy in my login name, I had changed that when I first posted and then I didn't care.

deadite4
Site Admin
Posts: 654
Joined: Fri Aug 07, 2009 2:58 pm
Location: Any Town, USA
Contact:

Re: linux: ELF file OS ABI invalid

Postby deadite4 » Fri Nov 19, 2010 6:57 pm

Your .so md5 is fine. You can also confirm the md5 of your entire package anytime you want. We posted the md5 on our homepage.

How are you trying to start the mod: Through the doom 3 mods menu or through a shortcut.
Sounds Great. Do it again.

sezero
Picked up the Mace
Posts: 13
Joined: Thu Nov 18, 2010 1:05 pm

Re: linux: ELF file OS ABI invalid

Postby sezero » Fri Nov 19, 2010 7:05 pm

How are you trying to start the mod: Through the doom 3 mods menu or through a shortcut.

I normally do ./doom3 +set fs_game eoc. The mods menu fails the same way.

sezero
Picked up the Mace
Posts: 13
Joined: Thu Nov 18, 2010 1:05 pm

Re: linux: ELF file OS ABI invalid

Postby sezero » Sun Nov 21, 2010 12:25 pm

Any news with this?

deadite4
Site Admin
Posts: 654
Joined: Fri Aug 07, 2009 2:58 pm
Location: Any Town, USA
Contact:

Re: linux: ELF file OS ABI invalid

Postby deadite4 » Sun Nov 21, 2010 2:31 pm

I'm pretty much stumped on what that error. I've never had someone give that error before and i supported 2 linux releases of cdoom. I'll keep looking.
Sounds Great. Do it again.

gb_remake
Picked up the Mace
Posts: 14
Joined: Fri Nov 12, 2010 5:40 pm
Location: Kiel, Germany
Contact:

Re: linux: ELF file OS ABI invalid

Postby gb_remake » Mon Nov 22, 2010 1:34 pm

Release the demo's source code so people can compile gamex86.so themselves if need be?

otherwise, issue with LD_LIBRARY_PATH, gcc or glibc too old maybe. Update system?

I couldn't run The Dark Mod on my Gentoo system until I updated gcc/glibc, for example. Theirs was compiled against a newer gcc /glibc than I had installed.

Hint: Compiling your gamex86.so on a really old Linux system makes it somewhat more likely that it will run for everybody.

deadite4
Site Admin
Posts: 654
Joined: Fri Aug 07, 2009 2:58 pm
Location: Any Town, USA
Contact:

Re: linux: ELF file OS ABI invalid

Postby deadite4 » Mon Nov 22, 2010 3:17 pm

If we were ready to release our source........we would have.


Hint: Compiling your gamex86.so on a really old Linux system makes it somewhat more likely that it will run for everybody.


Doom 3 requires gcc 4 or newer(v3.3 if compiling earlier than 1.3.1 SDK) in order to compile. Compiling on an old version isn't even an option.
Sounds Great. Do it again.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest