sdonovan

Compiling OpenCL on RedHat (CentOS)

Discussion created by sdonovan on Aug 13, 2009
Latest reply on Nov 20, 2009 by mjharvey

I'm trying to compile the v2.0 beta on CentOS 5.3 and I am running into linkage errors.  It appears as though libOpenCL.so needs 'std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9' to resolve and it is not present in libstdc++.so.

It looks like the 4.3.2 compiler on CentOS uses the 4.1.2 libstdc++.so and it does not include any GLIBCXX_3.4.9 symbols.  I realize that the only officialy supported Linuxes are Unbuntu and SUSE but unfortunately I can't use either at my firm. 

Does anyone have any ideas how I can get this to link on CentOS?

 

Outcomes