AC does not detect libsdl but it exists [SOLVED]
#1
Code:
jack@old-rusty ~/assaultcube > ./assaultcube.sh /home/jack/assaultcube/bin_unix/linux_64_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory

But

Code:
old-rusty lib # pwd /usr/lib old-rusty lib # ls *SDL* libSDL-1.2.so.0 libSDL-1.2.so.0.11.2 libSDL.a libSDL.la libSDL.so libSDLmain.a

What's going on? How can I see what directories Assault Cube is checking for this library in? It also happens when I run the binary directly.

I tried making a link so that I now have the filename AC is looking for:

Code:
old-rusty lib # ls -l *SDL* lrwxrwxrwx 2 root root 20 Jan 6 15:07 libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.2 -rwxr-xr-x 1 root root 395712 Jan 6 15:07 libSDL-1.2.so.0.11.2 lrwxrwxrwx 2 root root 20 Jan 6 15:07 libSDL-image-1.2.so.0 -> libSDL-1.2.so.0.11.2 -rw-r--r-- 1 root root 725576 Jan 6 15:07 libSDL.a -rw-r--r-- 1 root root 835 Jan 6 15:07 libSDL.la lrwxrwxrwx 1 root root 20 Jan 6 15:07 libSDL.so -> libSDL-1.2.so.0.11.2 -rw-r--r-- 1 root root 826 Jan 6 15:07 libSDLmain.a

But I have the same issue still.

Edit: After writing the link filename correctly I do not have the same error but now:

Code:
jack@old-rusty ~/assaultcube > ./assaultcube.sh Using home directory: /home/jack/.assaultcube current locale: C init: sdl init: net init: world init: video: sdl init: video: mode init: video: misc init: gl Renderer: Gallium 0.4 on softpipe (VMware, Inc.) Driver: 2.1 Mesa 7.9 /home/jack/assaultcube/bin_unix/linux_64_client: symbol lookup error: /home/jack/assaultcube/bin_unix/linux_64_client: undefined symbol: IMG_Load jack@old-rusty ~/assaultcube >

Edit: Turns out it is a different package I needed, sdl-image. AC runs but now I need to figure out why it is at 2 fps.
Thanks given by:
#2
Most likely it's a driver issue. Make sure you have the one you need for your graphics adapter even if you need the <cringe>proprietary</cringe> one.
Thanks given by:
#3
(07 Jan 11, 04:29AM)Jack Wrote: but now I need to figure out why it is at 2 fps.
(07 Jan 11, 04:29AM)Jack Wrote: Renderer: Gallium 0.4 on softpipe (VMware, Inc.)

Better don't try running a 3D game inside a VM.
Thanks given by:
#4
Woops didn't catch that. I don't think (even) AC will work in a VM.
Thanks given by:
#5
It can and it will. I can use AC in a Windows 7 Parallels VM on Mac OSX 6. Why I'd want to? Who knows, but it is possible. (I got about ~100 FPS connect to a server with about 10 users)

[Image: AC_on_OSX_on_Win7.png]
Thanks given by:
#6
I'm not in a VM. Not sure why it says that. But AC does run horribly in VirtualBox.

AC runs OK after I installed proprietary nvidia-drivers. I thought I had them but didn't.
Thanks given by:
#7
The giveaway was the line "Drivers: Mesa" - that means "not OpenGL" - another way to test this is to (try to) run "glxgears -info", or even
Code:
glxgears -info 2>/dev/null|grep GL_
Thanks given by: