I think I broke my box.
I dunno HOW [maybe doing a HelixCode update?!], but now when I try to
compile any of my SDL games, I get a ton of “undefined reference” errors
regarding X11 stuff!
The errors are preceded with the following from “ld”:
/usr/bin/ld: warning: libX11.so.6, needed by /usr/local/lib/libSDL.so, not found (try using --rpath)
/usr/bin/ld: warning: libXext.so.6, needed by /usr/local/lib/libSDL.so, not found (try using --rpath)
There IS an “-rpath” in the output of “sdl-config --libs”, but it looks
-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread
I’m running RedHat 6.1 with Kernel 2.2.14, SDL 1.1.3 and GNU ld 2.9.1.
(And yes, “libX11.so.6” and “libXext.so.6” DO exist, they’re both in
"/usr/X11R6/lib", which IS in my “/etc/ld.so.conf” file!!!)
Do I need to upgrade my SDL? Or did something really break?
(BTW, I CAN get things to link by specifically listing
"-L/usr/X11R6/lib -lX11 -lXext" in my Makefile, but that’s Lame™!)