LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   newbie problems with SDL (https://www.linuxquestions.org/questions/linux-games-33/newbie-problems-with-sdl-145428/)

nannerhead 02-12-2004 05:48 PM

newbie problems with SDL
 
Okay, here's the deal. I just installed raptor (an older game, for those of you who've never heard of it), and whenever I try to run it, it says "raptor: error while loading shared libraries: libSDL-1.1.so.0: cannot open shared object file: No such file or directory"

I did an rpm -q SDL and it says I have version 1.2.3.

I downloaded version 1.2.6, but when I tried to uninstall 1.2.3, it said "error: open of SDL-1.2.3-7 failed:No such file or directory"

I have no idea what I'm doing wrong. It's probably something simple since I'm fairly new to Linux, but this totally boggles me. I'm running RedHat 7.3. Any suggestions would be appriciated.

guygriffiths 02-13-2004 02:18 PM

Sounds like raptor is trying to access a versino of SDL which is older than the one you have. It should really try and access libSDL.so which should be symlinked to whichever version is currently in use. Try getting a root console and type:
Code:

ln -s /usr/lib/libSDL.so /usr/lib/libSDL-1.1.so.0
Hopefully that should work
Guy

nannerhead 02-13-2004 06:24 PM

That worked beautifully, thanks!!


All times are GMT -5. The time now is 09:53 AM.