The CodeXL analyser has a problem when is executed either as standalone or through CodeXL GUI. It seems it tries to load the 32bit GL library. For instance using it to get a list of supporting GPUs I get the following output:
$ ./CodeXLAnalyzer -h -s CL -l
Assertion failure (Failed to load module. OS error is: /usr/lib32/fglrx/dri/../libGL.so.1: wrong ELF class: ELFCLASS32. Module = l) osLoadModule /data/jenkins/workspace/CodeXL-1.6-Linux/release/CodeXL/1.6/CommonProjects/AMDTOSWrappers/src/linux/osModule.cpp line: 62
: No such file or directory
AMD Catalyst was not detected.
The same happens if I open the CodeXL GUI.
However, if I change the link /usr/lib32/fglrx/libGL.so.1 to point to the 64bit libGL.so (/usr/lib/fglrx/libGL.so) then both the analyser and CodeXL run without a problem.
How can I correct this in a proper way?