You just should have links in your /usr/X11R6/lib directory, one lib at that libGL.so.1.2 and its symlinks (libGL.so.1). Do you have any libGLs under the directory /usr/X11R6/lib/tls? If so, try renaming them.