The game does not work on Debian (SID, AMD64) FIXED

Technical support for all issues relating to Defcon Linux

Moderator: Defcon moderators

moritzmh
level0
Posts: 3
Joined: Wed May 23, 2007 11:24 pm

The game does not work on Debian (SID, AMD64) FIXED

Postby moritzmh » Thu May 24, 2007 12:31 am

Can anyone of you help me? I already bought the license and would like to play...


./defcon
bash: ./defcon: /bin/sh: bad interpreter: Keine Berechtigung
root@siduxbox:/home/moritz/defcon-v1.42# ls -lh ./defcon
-rwxr-xr-x 1 moritz moritz 1,2K 2007-05-07 14:16 ./defcon
root@siduxbox:/home/moritz/defcon-v1.42# bash ./defcon
./defcon: line 46: ./lib/defcon.bin.x86: Keine Berechtigung
root@siduxbox:/home/moritz/defcon-v1.42# ldd ./li
lib/ license.txt
root@siduxbox:/home/moritz/defcon-v1.42# ldd ./lib/defcon.bin.x86
not a dynamic executable
root@siduxbox:/home/moritz/defcon-v1.42# file ./lib/defcon.bin.x86
./lib/defcon.bin.x86: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), stripped
uname -a
Linux siduxbox 2.6.21.1-slh64-smp-7 #1 SMP Sun May 13 21:59:22 CEST 2007 x86_64 GNU/Linux
root@siduxbox:/home/moritz/defcon-v1.42#
Last edited by moritzmh on Mon May 28, 2007 6:19 pm, edited 1 time in total.
User avatar
bert_the_turtle
level5
level5
Posts: 4795
Joined: Fri Oct 13, 2006 6:11 pm
Location: Cologne
Contact:

Re: The game does not work on Debian (SID, AMD64)

Postby bert_the_turtle » Thu May 24, 2007 7:34 am

moritzmh wrote:./defcon
bash: ./defcon: /bin/sh: bad interpreter: Keine Berechtigung

"Keine Berechtigung" means "access denied". That's very odd, can you do a "ls -l /bin/sh"?

For the rest, do you have the 32 bit compatibility stuff installed? Defcon is a 32 bit executable and needs it.
moritzmh
level0
Posts: 3
Joined: Wed May 23, 2007 11:24 pm

No go.

Postby moritzmh » Thu May 24, 2007 8:58 am

Hi
Thanks for the fast reply.

I do not know what the problem is and consider myself to be an experienced Linux user for nearly 10 years.
I have ia32libs and ia32libs-gtk installed.
/bin/sh is a link to /bin/bash, which is evidently executable.

Anything else I can try?
User avatar
bert_the_turtle
level5
level5
Posts: 4795
Joined: Fri Oct 13, 2006 6:11 pm
Location: Cologne
Contact:

Postby bert_the_turtle » Thu May 24, 2007 9:27 am

I'm clueless, too. You have unpacked the tarball to a file system that supports the executable flag, right? Not your Windows partition? Maybe there is file corruption at work, I'm not sure how 64 bit ldd is supposed to behave with 32 bit binaries, but I definitely get some useful output when I let it lose on the .bin.x86. I don't have a 64 bit system nearby, though.

Perhaps do a checksum? I get

Code: Select all

$ md5sum lib/defcon.bin.x86
a89ecb69f59246a81e4e4ac2e20a9e44  lib/defcon.bin.x86
User avatar
ewanm
level3
level3
Posts: 349
Joined: Sat Jan 21, 2006 8:15 pm
Location: ::1
Contact:

Postby ewanm » Fri May 25, 2007 8:42 pm

I had this once on amd64 feisty fawn, after making sure 32bit compatibility and reboot it worked.
moritzmh
level0
Posts: 3
Joined: Wed May 23, 2007 11:24 pm

Solved

Postby moritzmh » Mon May 28, 2007 6:18 pm

OK, apparently after a new installation my home directory has been mounted without exec privileges. Weird. Remounting with exec solved the problem.

The game works flawlessly on Debian Sid (Sidux actually) amd64. Nice game.

Return to “Linux Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests