ccminer-cryptonight
ccminer-cryptonight copied to clipboard
/usr/bin/ld: cannot find -lcudart
During make, I get next error:
gcc -g -O2 -pthread -L/usr/local/cuda/lib64 -o ccminer ccminer-cpu-miner.o ccminer-util.o ccminer-sha2.o cryptonight/cryptonight.o cryptonight/cuda_cryptonight_core.o cryptonight/cuda_cryptonight_extra.o ccminer-cryptonight.o crypto/ccminer-oaes_lib.o crypto/ccminer-c_keccak.o crypto/ccminer-c_groestl.o crypto/ccminer-c_blake256.o crypto/ccminer-c_jh.o crypto/ccminer-c_skein.o crypto/ccminer-aesb.o -lcurl -ljansson -lpthread -lcudart -static-libstdc++ -fopenmp -lcrypto -lssl -lcrypto -lssl /usr/bin/ld: cannot find -lcudart collect2: error: ld returned 1 exit status
try to apt install libcudart7.5
I work on Arch Linux, so I have no apt available. When trying to pacman this file, I cannot seem to find it... :(
Before build, run ./autogen.sh, because of "configure" script needs to be updated.
./configure --with-cuda=/usr/local/cuda-5.5
I'm using 5.5 version (not latest), but you can try 7.5 version.
Start with a command:
LD_LIBRARY_PATH=/usr/local/cuda/lib64 ./ccminer
Or add /usr/local/cuda/lib and /usr/local/cuda/lib64 in ld.conf.