Hi, I’m having problems with getting the SDL dynamic libs to run.
My configuration is Redhat 7.2 w/ 2.4.18 kernel. I rpm -e’d the default
SDL config, since I wanted to use the latest 1.2.3 version of SDL.
to install, I just did a ./configure; make; make install. I recall that
worked fine on my FreeBSD system.
On my Redhat system, though, when I try to run my app, I get an “unable
to load shared library libSDL-1.2.so” message.
I can run if I explicitly add /usr/local/lib to LD_LIBRARY_PATH… but
it sucks having to do that every time.
Also, I tried adding /usr/local/lib to /etc/ld.so.conf, to no avail.
Anybody run into/solved this problem? I know Redhat likes to do think
in a non-unix fashion, putting config files in strange places and all
that, but… help?
Also, I tried adding /usr/local/lib to /etc/ld.so.conf, to no avail.
Did you run “ldconfig” after putting the path in your ld.so.conf?
Alternately, configure SDL with the --prefix switch.
./configure --prefix=/usr [other options here]
Then SDL will install in /usr/bin, /usr/lib, etc.
–ryan.
Awesome, that did it. Thanks! Now I can get on with debugging my app.
- EronOn Fri, 2002-03-29 at 00:23, Ryan C. Gordon wrote:
Also, I tried adding /usr/local/lib to /etc/ld.so.conf, to no avail.
Did you run “ldconfig” after putting the path in your ld.so.conf?
/etc/ld.so.conf should have an entry for where SDL is installed.
as root:
run ldconfig.
I am 99% certain this is in some readme file somewhere.On Friday, March 29, 2002, at 01:53 AM, Eron Hennessey wrote:
Hi, I’m having problems with getting the SDL dynamic libs to run.
My configuration is Redhat 7.2 w/ 2.4.18 kernel. I rpm -e’d the default
SDL config, since I wanted to use the latest 1.2.3 version of SDL.
to install, I just did a ./configure; make; make install. I recall that
worked fine on my FreeBSD system.
On my Redhat system, though, when I try to run my app, I get an “unable
to load shared library libSDL-1.2.so” message.
I can run if I explicitly add /usr/local/lib to LD_LIBRARY_PATH… but
it sucks having to do that every time.
Also, I tried adding /usr/local/lib to /etc/ld.so.conf, to no avail.
Anybody run into/solved this problem? I know Redhat likes to do think
in a non-unix fashion, putting config files in strange places and all
that, but… help?
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl