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: libX11.so.6, needed by /usr/lib/libSDL.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libXext.so.6, needed by /usr/lib/libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/libSDL.so: undefined reference to XSetWMProtocols' /usr/lib/libSDL.so: undefined reference toXSetWMIconName’
/usr/lib/libSDL.so: undefined reference to XShmDetach' /usr/lib/libSDL.so: undefined reference toXImageByteOrder’
/usr/lib/libSDL.so: undefined reference to `XGetErrorDatabaseText’
…ad nauseum
collect2: ld returned 1 exit status

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

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

Heeelllp!

-bill!