CUDA driver version is insufficient for CUDA runtime version

Hi,

I get the following error code when running a little CUDA sample on my TK1 board:
“CUDA driver version is insufficient for CUDA runtime version”

This messages points to a version mismatch but i do not see where. My kernel version is
3.10.40.

cat /etc/nv_tegra_release tells me:
“# R21 (release), REVISION: 4.0, GCID: 5650832, BOARD: ardbeg, EABI: hard, DATE: Thu Jun 25 22:38:59 UTC 2015”
This information is correct, i am using L4T R21.4 and want tu use CUDA 6.5.

I am using libaries from package cuda-repo-l4t-r21.3-6-5-prod_6.5-42_armhf.deb for cross compiling. IMHO this package fits for CUDA 6.5.

How can i check the “CUDA driver version” and the “CUDA runtime version”?
Why do i get this error and much more important, how to i get rid off it?

Thanks for any help on this!

Solved it by myself

echo "include /etc/ld.so.conf.d/nvidia-tegra.conf" > /etc/ld.so.conf
echo "/usr/lib/arm-linux-gnueabihf/tegra" > /etc/ld.so.conf.d/nvidia-tegra.conf
ldconfig

did the trick!