tenser234, try to figure out which shared gl library is loaded, bcos there can be more
of them installed on your computer.
you can get this info for example from strace
(
http://sourceforge.net/search/?&q=strace )
$ strace -e open fglrxinfo
should do something like:
...
open("/usr/X11R6/lib/libGL.so.1", O_RDONLY) = 3
...
normally the ati's libGL.so* are installed into /usr/X11R6/lib/ but if there are another mesa's gl shl somewhere else (/usr/lib/ for example) they could be found and loaded before the dlopen reaches the ati's one.
hope this will help.