[SELECT ALL] 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
[SELECT ALL] 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:
[SELECT ALL] 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:
[SELECT ALL] 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.