Click to See Complete Forum and Search --> : SDL problem


Orion-X
04-19-2001, 03:53 AM
I was trying to install xmps, and that needed the SDL stuff, so I went ahead and tried to use their binary file (rpm). It didn't work and was complaining about dependency problems, so I took the src and compiled it. I did "make" and "make install" w/o any other option. But unfortunately xmps hangs while trying to play mpeg1 layer1 video files. So I was like, what da heck, and I went ahead to do a very stupid task, installing the rpm paackage with --nodep. And now not only does xmps not start up, all the applications that needed SDL doesn't start up.

Is there a way I can start fresh and get SDL to install right? The compiling method didn't complain anything about anything. I don't know why it didn't work. But installing SDL rpm package was complaining about dependency problem with libSDL-1.1.so.0

And now, after doing the nodep install, whenever I try to start up xmps or other applications that require SDL, they complain about that libSDL-1.1.so.0 not found. I did a locate and it shows up under /usr/lib/
So I was wondering if there is a way to salvage my current situation.

Lorithar
04-19-2001, 08:12 AM
*grins*...

check /etc/ld.so.conf and make sure that the path(s) in it will point to SDL's libs.
as root, from cli
ldconfig.
try again ...

ldconfig makes your ... shared library manager go out there and find all libraries in ld.so.conf and catalog them so that when an application asks for a library it knows where to find it.

(Okay ... thats a little simplistitc, but it covers the ground....)

Orion-X
04-21-2001, 03:36 AM
Okay, now I have more problems... I can't find that libSDL-1.1.so.0 anymore, not anywhere. But when I try to install the rpm package, it says it's already installed, so I try to uninstall it using -e, and it says it is not installed. What do I do?

What can I do to make SDL work? It's so frustrating...

Orion-X
04-21-2001, 03:41 AM
Oh, and btw, I tried to install it from compiling the source. Everything ran fine without errors, but still I don't see that libSDL-1.1.so.0 anywhere. Is it because I am compiling SDL 1.2? Should I go ahead and try SDL 1.1?