My friend the easiest solution is to do following:
sudo apt-get remove libsdl1.2debain-all
sudo apt-ge install libsdl1.2debain-dev
Then go to SDL's official site, download the latest libsdl-dev tar and configure and compile and install.
Thats it
I just want to confirm that this method works on Ubuntu 12.04 LTS X64! you saved me a system reinstall trouble. Just library names have changed on Ubuntu 12.04 LTS, people should just pay attention now on library names that are not the same.. On Ubuntu 12.04 they should use this commands
Code:
sudo apt-get remove libsdl1.2debian
Code:
sudo apt-get install libsdl1.2-dev
and then to download latest sdl from here http://www.libsdl.org/, at this point of time it is sdl 1.2 so download it from here http://www.libsdl.org/download-1.2.php. Extract it to Desktop using archeve manager.
CD to that folder from terminal. To do that open terminal. and type:
Code:
cd /home/yourusername/Desktop/SDL-1.2.15
and then compile it
wait it to finish configuring type following code hit enter
wait it finish compiling, type following code and hit enter
Thats it your games will work this is tut for total nooobs i had spare time so i wanted to help others too. Hope it was helpful. Thanks imblack for posting his solution it was very helpful.