https://bugs.freedesktop.org/show_bug.cgi?id=36318
--- Comment #2 from Yannick Dirou yannick.dirou@axetic.com 2011-04-17 02:28:10 PDT --- I had similar problem (with r300g) ,
In fact glxgears did not load the right mesa lib despite a good ldconfig -v (added new mesa path 000_mesa.conf)
do: ldd /usr/bin/glxgears it should show the path of the lib used by the app if it is wrong and you use natty or another ubuntu a temporary fix is:
sudo rm /etc/ld.so.conf.d/GL.conf (symbolic link to original mesa) sudo ldconfig
don't know the right fix though