As per this slack discussion, it would be useful for EasyBuild to spit out a warning when attempting to build software that has a CUDA dependency, when libcuda.so is not installed (particularly for rpath builds).
We should be able to check for this using something like ldconfig -p | grep -q libcuda