Strange "undefined reference" errors when linking!

I think I broke my box. :slight_smile:

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:, needed by /usr/local/lib/, not found (try using --rpath)
/usr/bin/ld: warning:, needed by /usr/local/lib/, not found (try using --rpath)

There IS an “-rpath” in the output of “sdl-config --libs”, but it looks
like this:

-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, “” and “” DO exist, they’re both in
"/usr/X11R6/lib", which IS in my “/etc/” 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™!)