Hi everybody,
i’ve just installed the latest cuda toolkit, update the LD_LIBRARY_PATH and PATH with the cuda’s directories and i’ve tried to compile a simple test code resulting in 2 linking errors:
nvcc square.cu
/usr/local/cuda/lib64/libcudart.so: undefined reference to std::_List_node_base::_M_unhook()@GLIBCXX_3.4.14' /usr/local/cuda/lib64/libcudart.so: undefined reference to std::_List_node_base::_M_hook(std::_List_node_base*)@GLIBCXX_3.4.14’
collect2: ld returned 1 exit status
I’ve googled for couple of hours but i can’t solve the problem. Does anybody know how to successfully link the code and the libraries?
Thank u!!!