[Solved] CUDA test failed: dynamic links not found

When I tried to compile the test samples, I got

  • nvidia-tls.so
  • libnvidia-glcore.so

not found. But I can look them up in

ls /usr/lib/nvidia*

though they are not effectively linked. Where are these libs?