I'm getting the following error when running Gish (or BCS) on ArchLinux 0.7.1 with OpenAL 0.0.8-1:
Code Sample |
undefined symbol: alutInit |
I had a friend test whether this is a problem with the Arch Package for OpenAL by compiling OpenAL from the latest source on the OpenAL website. The error still occurs.
The issue resolves itself if I backrev to version 0.0.7 (found in the debian repository), which I compiled myself.
I tried Gish on a Ubuntu Breezy system and did not get the error. But the version of OpenAL is 0.0.7 on that system also.
What does running 'ldd' on 'gish' tell you?
what happens if you run:
LD_PRELOAD=/usr/lib/libalut.so.0 ./gish
Also if you run Gish with the sound turned off it should work, although it is not a fix for that problem.
./gish -nosound -nomusic
remember if you do this you need to turn the sound and music back on with:
./gish -sound -music
Here is my ldd gish:
Code Sample |
dann@inferno:/mnt/games/gish$ ldd gish linux-gate.so.1 => (0xffffe000) libm.so.6 => /lib/tls/libm.so.6 (0xb7f63000) libGL.so.1 => /usr/lib/libGL.so.1 (0xb7edf000) libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7e51000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7e3f000) libopenal.so.0 => /usr/lib/libopenal.so.0 (0xb7dfe000) libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7dd5000) libc.so.6 => /lib/tls/libc.so.6 (0xb7cbb000) libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb7cb3000) /lib/ld-linux.so.2 (0xb7fad000) libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb74f5000) libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb74f3000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb74e5000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb73f7000) libdl.so.2 => /lib/libdl.so.2 (0xb73f3000) libogg.so.0 => /usr/lib/libogg.so.0 (0xb73ed000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb73ea000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb73e5000) |
the LD_PRELOAD options seems to work with sound and music just fine. I'll use that for now.
Someone reported having to kill "ESD" before the LD_PRELOAD would work.
rkline reported that to get gish to work on Linux for OpenAL 0.0.8 or newer, you have to install freealut.