1 of 1 people found this helpful
CodeXL is looking for the libOpenCL.so.1 using the env variable LIBGL_DRIVERS_PATH.
Usually if the path defined there is /usr/lib/subdir then CodeXL expects to find the libOpenCL.so.1 & libOpenGL in /usr/lib (one directory upward)
You can either define that env variable manually or put those libraries to where it is defined as I pointed above
I hope this helps
Setting LIBGL_DRIVERS_PATH to something one deeper than where libOpenCL.so.1 is stored didn't seem to work (I tried /usr/lib64/nvidia/xorg, but CodeXL was still unable to find it). However, following your second suggestion to simply symlink it (I symlinked it to /usr/lib64) seemed to make things work.
Thanks you so much for this! Now I can finally get back to trying to see what's wrong with my code.