First thing to do is try what the message suggests
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
As root, run ldconfig
. If you'd like to be 100% positive the library is included, then execute this command:
$ ldconfig -v | grep libSDL
That command should give you at least one line of output. On my system, it gives:
libSDL-1.2.so.0 -> libSDL.so
If you do not get anything, then the SDL library is not in one of the expected locations.
If you get some output like I have quoted above, try recompiling.
If you don't get any output or the recompile still doesn't work, then we can look at other possible reasons.