Xlib: extension "XFree86-DRI" missing on display ":0.0".
I get the above error message from some xscreensaver savers. I checked with ldd which libraries are being used. The interesting one is /usr/X11R6/lib/tls/i686/libGL.so.1, which was wrongly linked (to libGL.so.1.2 in the same directory). When I move the link to instead pointing to /usr/lib/tls/libGL.so.1 everything works fine.
The problem is it seems that every time XFree86 is restarted the not-working link is restored to it's faulty state. Anyone knows why this is?