I am trying to install ioquake on my ubuntu server.
When I try to run it, I get this message:
# ./ioquake3
./ioquake3.x86_64: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory
I thought I had everything working right, here is where the libSDL is:
# cd /usr/lib64
# /usr/lib64# ls -l
total 2308
lrwxrwxrwx 1 root root 15 Oct 15 00:25 libSDL-1.1.so.0 -> libSDL-1.2.so.0
lrwxrwxrwx 1 root root 20 Oct 15 00:25 libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.4
-rwxr-xr-x 1 root root 2358903 Jan 19 2012 libSDL-1.2.so.0.11.4
And my path:
# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib64
What am I doing wrong?
strace ./ioquake.x86_64
. This will show all system calls (takes way more time to execute). It will show which attempt to open which file will fail.