Weird lib errors

I upgraded my XF86 to a 4.1.0, unsupported “bleeding edge” RPM, and am
now getting errors when compiling SDL programs. I’m not 100% sure if it’s
SDL-related, or just some system-wide weirdness, but thought I’d ask here…

For example, when running “configure” for the game TuxRacer, it tries
to build a little test SDL app. The results are hideous. (TuxRacer builds,
but no sound/music since it thinks SDL is broken or missing)

…From “config.log”:

configure:3309: gcc -o conftest -I/usr/include/SDL -D_REENTRANT conftest.c -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread 1>&5
/usr/bin/ld: warning:, needed by /usr/lib/, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning:, needed by /usr/lib/, not found (try using -rpath or -rpath-link)
/usr/lib/ undefined reference to XSetWMProtocols' /usr/lib/ undefined reference toXSetWMIconName’
/usr/lib/ undefined reference to XShmDetach' /usr/lib/ undefined reference toXImageByteOrder’
/usr/lib/ undefined reference to `XGetErrorDatabaseText’
…ad nauseum
collect2: ld returned 1 exit status

Of course, “” DOES exist. It’s tucked away in “/usr/X11R6/lib/”,
where it belongs. (It’s a sym-link to “”)

And yes, “/usr/X11R6/lib/” is in my “/etc/” file, like it should be.
And yes, I ran “ldconfig” :slight_smile: