xmrig-cuda icon indicating copy to clipboard operation
xmrig-cuda copied to clipboard

undefined symbol: cuInit

Open code1010111 opened this issue 3 years ago • 1 comments

I build xmrig-cuda lib and xmrig and then to start xmrig see this error:

# ./xmrig --cuda --cuda-loader=/root/xmrig-cuda/libxmrig-cuda.so --coin=RVN --url=rvn.2miners.com:6060 --user=WALLET --pass x ./xmrig: symbol lookup error: /root/xmrig/xmrig-cuda/libxmrig-cuda.so: undefined symbol: cuInit

code1010111 avatar Jun 02 '21 16:06 code1010111

Do you have the proprietary nvidia driver installed, and if so which version? That symbol is in the CUDA lib that comes with the driver. nvidia-smi should show what version of driver and what version of CUDA is included. If you built the plugin with a CUDA toolkit newer than the driver contains, it also may not work (but shouldn't say undefined symbol though).

Spudz76 avatar Jun 03 '21 13:06 Spudz76