Frictional Games Forum (read-only)

Full Version: How do I install this in Debian?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I ran the installer, and I get this error when I try to run the game.

stuckey@debian:~/PenumbraOvertureDemo$ ./penumbrademo
./penumbrademo.bin: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
Penumbra: Overture exited unexpectedly, please check
/home/stuckey/.frictionalgames/Penumbra/Overture/hpl.log
for any error messages
Also try running
ulimit -c unlimited
And re-running Penumbra and try and recreate the error
then submit the generated core file or stack trace

The log doesn't exist. libGl.so.1 exists in /usr/lib/.

Thanks
64-bit arch?

If so, you need to install the ia32 versions of the necessary libs. The Penumbra games are 32-bit binaries.

Depending on your debian version, the instructions are different (there's currently a transition ongoing in unstable to autogenerating the ia32-on-64-bit libs from the i386 package) but you can try 'apt-cache search ia32 glx' and see what comes up on your distro.

You should have the relevant libs in /usr/lib32 once you are done, and 'ldd' on the game binary should show the libs resolved from /usr/lib32.

Good luck!
I'm trying it now on a 32 bit environment and I'm getting the same error.
can you run glxinfo (and paste the output).

can you run [b]file[b] on your /usr/lib/libGL.so.1

Code:
file /usr/lib/libGL.so.1

also run ldd

Code:
ldd /usr/lib/libGL.so.1

And provide the ldd output when run on the penumbra.bin as well.
(08-05-2009, 03:25 PM)Urkle Wrote: [ -> ]can you run glxinfo (and paste the output).

can you run [b]file[b] on your /usr/lib/libGL.so.1

Code:
file /usr/lib/libGL.so.1

also run ldd

Code:
ldd /usr/lib/libGL.so.1

And provide the ldd output when run on the penumbra.bin as well.


I gave up trying to run it on a 32 environment. Here's the output from my 64 bit environment:

stuckey@debian:~$ file /usr/lib/libGL.so.1
/usr/lib/libGL.so.1: symbolic link to `libGL.so.185.18.14'

stuckey@debian:~$ ldd /usr/lib/libGL.so.1
linux-vdso.so.1 => (0x00007ffff89fe000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00007f48ef302000)
libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x00007f48ef200000)
libm.so.6 => /lib/libm.so.6 (0x00007f48eef7c000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f48eed6b000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f48eea30000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f48ee82b000)
libc.so.6 => /lib/libc.so.6 (0x00007f48ee4da000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f48ee2d8000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f48ee0bb000)
/lib64/ld-linux-x86-64.so.2 (0x00007f48f080c000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f48edeb6000)

I don't know where "penumbra.bin" is.

Thanks!
Oh, you are running the demo:-D do ldd on penumbrademo.bin then :-D


Also can you do a file on /usr/lib/libGL.so.185.18.14
stuckey@debian:~/PenumbraOvertureDemo$ ldd penumbrademo.bin
linux-gate.so.1 => (0xf7f92000)
libvorbisfile.so.3 => not found
libfltk.so.1.1 => not found
libogg.so.0 => not found
libvorbis.so.0 => not found
libSDL-1.2.so.0 => not found
libSDL_ttf-2.0.so.0 => not found
libSDL_image-1.2.so.0 => not found
libopenal.so.1 => not found
libalut.so.0 => not found
libGL.so.1 => not found
libGLU.so.1 => not found
libCg.so => not found
libCgGL.so => not found
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7e71000)
libm.so.6 => /lib32/libm.so.6 (0xf7e4d000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7e22000)
libc.so.6 => /lib32/libc.so.6 (0xf7ccd000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7cb4000)
/lib/ld-linux.so.2 (0xf7f74000)

/usr/lib/libGL.so.185.18.14: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
MOST of the "not founds" in the penumbrademo.bin ldd are ok as those libs are in the "./lib" directory in the game installation.

running LDD like this would show those.
Code:
LD_LIBRARY_PATH=./lib ldd ./penumbrademo.bin

As for the libGL.so.1 THAT is where your problem is. You only have the 64bit libGL installed, you NEED to install the 32bit libGL.so.1 as well (the one for the nvidia driver that is). Poke your distribution forums or search around here as I know a few others have mentioned how to do that on debian/ubuntu.
Works now, thanks.

I've a small problem with the installer though... It's only about half way finished right now, and it's been running for two and a half hours.

I've a new system. Is this normal?
The install lag issue is a known issue.

Basically the fltk GUI runs slow because of the # of files being extracted.

And the gtk GUI isn't running most likely because you don't have the 32bit versions installed.

A workaround is to run the installer like this.

Code:
DISPLAY= ./PenumbraCollection.sh

this will force the installer to use text mode.

I am updating the installer this weekend to use a newer version of the installer and include 64bit GUI installers. The game will still be 32 bit only however.
Pages: 1 2