Ah yes, I browsed around the library folders and found that the /usr/X11R6/lib64/libGL.so was a broken symlink. Fixed the symlink and it works.

Thanks!