cbuchner1 / CudaMiner

a CUDA accelerated litecoin mining application based on pooler's CPU miner
Other
687 stars 304 forks source link

Compilation Fails on Ubuntu 13.10 64bit #123

Closed amingilani closed 9 years ago

amingilani commented 10 years ago

Compilation fails with this error:

g++  -g -O2 -pthread -L/usr/local/cuda/lib64  -o cudaminer cudaminer-cpu-miner.o cudaminer-util.o wrapnvml.o cudaminer-sha2.o cudaminer-scrypt.o cudaminer-maxcoin.o cudaminer-blakecoin.o cudaminer-sha3.o cudaminer-scrypt-jane.o salsa_kernel.o sha256.o keccak.o blake.o cudaminer-blake.o fermi_kernel.o kepler_kernel.o test_kernel.o nv_kernel.o nv_kernel2.o titan_kernel.o -L/usr/lib/x86_64-linux-gnu -lcurl compat/jansson/libjansson.a -lpthread  -lcudart -fopenmp -lcrypto -lssl  -lcrypto -lssl 
/usr/bin/ld: wrapnvml.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: ld returned 1 exit status
make[2]: *** [cudaminer] Error 1
make[2]: Leaving directory `/home/user/mining/cuda/CudaMiner'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/mining/cuda/CudaMiner'
make: *** [all] Error 2

Which is similar to this issue, however, i do run './autogen.sh' before './configure' & 'make'.

Ubuntu 13.10

reffy commented 10 years ago

Hi!

This problem has a solution already, its listed as 'Compile error with direction on fix' by lightningjim.