View Single Post
Old 03-08-12, 09:45 PM   #2
Registered User
Join Date: Mar 2012
Posts: 3
Default Re: /usr/bin/ld: cannot find -lcuda

I am new to Linux (Backtrack 5 r2 KDE x64) and recently I have also been trying to install Cuda/Pyrit on my computer using this guide:

Everything goes well with the installation of Cuda and Pyrit as far as I can tell but when I try to set the two of them up together this is what I get...

root@bt:~# cd pyrit/pyrit/
root@bt:~/pyrit/pyrit# cd ../cpyrit_cuda/
root@bt:~/pyrit/cpyrit_cuda# python build
running build
running build_ext
Skipping rebuild of Nvidia CUDA kernel ...
Building modules...
building 'cpyrit._cpyrit_cuda' extension
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-x86_64-2.6/_cpyrit_cuda.o -Wall -fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)"
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.6/_cpyrit_cuda.o -lcrypto -lcuda -lz -o build/lib.linux-x86_64-2.6/cpyrit/
/usr/bin/ld: cannot find -lcuda
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Any help here would be greatly appreciated.
Citanul is offline   Reply With Quote