Ok, I did a make rpcminer, and it builds the kernel and everything fine, but fails on linking (undefined reference to `cuInit'). I have added the cuda lib directory to the ld config file and ran ldconfig as root. I also tried setting the LD_LIBRARY_PATH with no success. Perhaps there's a -lcuda missing somewhere, but I've never worked with CMake, so I have no idea where look. Any ideas?
I'm facing the same problem. I manually added -lcuda to cmake-rpcminer/CMakeFiles/rpcminer.dir/link.txt but linker can not find '-lcuda'. libcuda.so is present in ldconfig -v.
Did you manage to solve it?