I installed SDL 1.2 on my Mandrake 8.0 system with no problems (source code
version–couldn’t get the .rpm to install). I then tried to install
SDL_Image 1.2 but it says it can’t find SDL. The FAQ’s didn’t really cover
this problem, but I did try a couple of related suggestions, namely:
Edit the file /etc/ld.so.conf, and make sure it contains the line:
/usr/local/lib
(I assume you just put that line after the one that’s in there. IOW, It
doesn’t replace the one in there, right?)
Also made sure /usr/local/bin was in the path.
I tied installing a game I had downloaded that needed both. It seemed to
see SDL, but of course halted when it couldn’t find SDL_Image.
I installed SDL 1.2 on my Mandrake 8.0 system with no problems (source code
version–couldn’t get the .rpm to install). I then tried to install
SDL_Image 1.2 but it says it can’t find SDL. The FAQ’s didn’t really cover
this problem, but I did try a couple of related suggestions, namely:
Edit the file /etc/ld.so.conf, and make sure it contains the line:
/usr/local/lib
(I assume you just put that line after the one that’s in there. IOW, It
doesn’t replace the one in there, right?)
Also made sure /usr/local/bin was in the path.
I tied installing a game I had downloaded that needed both. It seemed to
see SDL, but of course halted when it couldn’t find SDL_Image.
I installed SDL 1.2 on my Mandrake 8.0 system with no problems (source code
version–couldn’t get the .rpm to install). I then tried to install
SDL_Image 1.2 but it says it can’t find SDL. The FAQ’s didn’t really cover
this problem, but I did try a couple of related suggestions, namely:
Edit the file /etc/ld.so.conf, and make sure it contains the line:
/usr/local/lib
(I assume you just put that line after the one that’s in there. IOW, It
doesn’t replace the one in there, right?)
Also made sure /usr/local/bin was in the path.
I tied installing a game I had downloaded that needed both. It seemed to
see SDL, but of course halted when it couldn’t find SDL_Image.
Okay I’ve done that and it shows up when I check the LD_LIBRARY_PATH, but
still getting the error. It runs through quite a few checks, then says
specifically:
checking for BSD compatible install… usr/bin/install -c
checking for SDL - version >= 1.2.0… no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL version 1.2.0 not found!
???
Also not sure what “installed in PREFIX” means of if that applies…
Okay I’ve done that and it shows up when I check the LD_LIBRARY_PATH, but
still getting the error. It runs through quite a few checks, then says
specifically:
checking for BSD compatible install… usr/bin/install -c
checking for SDL - version >= 1.2.0… no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL version 1.2.0 not found!
Does typing “sdl-config --version” work?? What is the ouput of “which
sdl-config”?? If it does work, but you don’t get anything from “which”,
then either set PATH right or set SDL_CONFIG, in bash:
export SDL_CONFIG=/usr/local/bin/sdl-config
Also not sure what “installed in PREFIX” means of if that applies…
It means the level in the directory tree you installed SDL. Usually
this is /usr/local, but you can change it by doing “./configure
–prefix=”.
-- David Snopek
/-- libksd –
| The C++ Cross-Platform Game Framework
| Only want to write it once??
| http://libksd.sourceforge.net
------------
Does typing “sdl-config --version” work?? What is the ouput of “which
sdl-config”?? If it does work, but you don’t get anything from “which”,
then either set PATH right or set SDL_CONFIG, in bash: