Page 1 of 1

Defcon on Debian Squeeze 64bit

Posted: Sat Nov 06, 2010 8:46 am
by snowball
Hello,
I'd like some help installing Defcon on Debian Squeeze 64bit.

I installed it with --force-architecture. However, I am missing some libs.

Here is output of ldd defcon.bin.x86:
linux-gate.so.1 => (0xf77d8000)
libSDL-1.2.so.0 => not found
libGL.so.1 => not found
libGLU.so.1 => not found
libvorbisfile.so.3 => not found
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf76d1000)
libm.so.6 => /lib32/libm.so.6 (0xf76ab000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf768c000)
libc.so.6 => /lib32/libc.so.6 (0xf7545000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf752c000)
/lib/ld-linux.so.2 (0xf77d9000)



When I run it, the error I get is:
/usr/share/games/defcon/defcon.bin.x86: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory


My graphics card is integrated intel 4500mhd.

Thank you.

Posted: Sat Nov 06, 2010 10:40 pm
by bert_the_turtle
How are you launching defcon? libSDL is included in the correct version, and the launch script should set things up so it gets found.

Posted: Sun Nov 07, 2010 8:26 am
by snowball
Typing this in the terminal:
/usr/share/games/defcon/defcon.bin.x86

Posted: Sun Nov 07, 2010 8:09 pm
by bert_the_turtle
Ah, you should use the launcher script. It's called plainly 'defcon'. It could be it hasn't been put into the search path due to the arch differences, it could be it hasn't been installed at all. What did you install defcon from? http://forums.introversion.co.uk/defcon ... php?t=4981 <- this one? The tar.gz available on the main site? Is it in some general repository now?

Posted: Sun Nov 07, 2010 8:17 pm
by snowball
I do have the launcher script. I said in my original post how I installed it:

I tried both unpacking the .tar.gz and by installing with dpkg --force-architecture the .deb package.

defcon launcher script just executes the .bin.x86. I did `ldd /usr/share/games/defcon/defcon.bin.x86` to find out what libs are missing.