View Single Post
Old 03-09-12, 02:18 AM   #3
ivoniko
Registered User
 
Join Date: Mar 2012
Posts: 3
Default Re: /usr/bin/ld: cannot find -lcuda

Here's also all I get, everything looks fine up to the last 3 lines:

root@bt:~/pyrit_svn/cpyrit_cuda# python setup.py build
running build
running build_ext
Compiling CUDA module using nvcc 3.2, V0.2.1221...
Executing '/usr/local/cuda/bin/nvcc -m32 --host-compilation C -Xcompiler "-fPIC" --ptx ./_cpyrit_cudakernel.cu'
nvcc warning : option 'host-compilation' has been deprecated and is ignored
Building modules...
building 'cpyrit._cpyrit_cuda' extension
creating build
creating build/temp.linux-i686-2.6
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda/include -I/usr/include/python2.6 -c _cpyrit_cuda.c -o build/temp.linux-i686-2.6/_cpyrit_cuda.o -Wall -fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)"
creating build/lib.linux-i686-2.6
creating build/lib.linux-i686-2.6/cpyrit
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.6/_cpyrit_cuda.o -lcrypto -lcuda -lz -o build/lib.linux-i686-2.6/cpyrit/_cpyrit_cuda.so
/usr/bin/ld: cannot find -lcuda
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
ivoniko is offline   Reply With Quote