I'm trying to run a few of the samples and get my OpenCL development environment working in CentOS 5.4 x64. I have run into some issues that prevent it from working as expected. Errors are shown below:
[tyler@tyler-workstation x86_64]# ldd CLInfo
./CLInfo: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./CLInfo)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003975200000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003974e00000)
libOpenCL.so => /usr/local/ati/lib/x86_64/libOpenCL.so (0x00002ae12115e000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003985400000)
libm.so.6 => /lib64/libm.so.6 (0x0000003974a00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003982000000)
libc.so.6 => /lib64/libc.so.6 (0x0000003974600000)
librt.so.1 => /lib64/librt.so.1 (0x0000003975600000)
[tyler@tyler-workstation x86_64]# ./NBody
Error: clGetPlatformIDs failed. Error code : unknown error code
[root@tyler-workstation x86_64]# echo $LD_LIBRARY_PATH
My stream SDK has been installed to /usr/local/ati/lib/x86_64.
I was able to run make in my the top level directory(/usr/local/ati) and it exited with no errors, it's when I try to run the sample executables that I run into issues.
[root@tyler-workstation ati]# echo $LD_LIBRARY_PATH
So that said, it seems the issue is with CLInfo wanting a specific GLIBC version(3.4.9). Is there any workaround?
Thanks in advance!