Hey everyone,
I have been trying to compile the example from the sdk, the template (http://developer.download.nvidia.com/compute/cuda/sdk/Projects/template.tar.gz)
I get the error:
/usr/bin/ld: cannot find -lshrutil_x86_64
collect2: ld returned 1 exit status
make: *** […/…/bin/linux/release/template] Error 1
I read that I needed to add something to the path, but I and not sure what and sure how to.
If anyone could give any assistance, I would appreciate it immensely.
Thanks!
Hey everyone,
I have been trying to compile the example from the sdk, the template (http://developer.download.nvidia.com/compute/cuda/sdk/Projects/template.tar.gz)
I get the error:
/usr/bin/ld: cannot find -lshrutil_x86_64
collect2: ld returned 1 exit status
make: *** […/…/bin/linux/release/template] Error 1
I read that I needed to add something to the path, but I and not sure what and sure how to.
If anyone could give any assistance, I would appreciate it immensely.
Thanks!
Use the following expressions:
export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib:$LD_LIBRARY_PATH
You will need to add this path to whatever file you like so that it is created each time, .login for example.
KHK
Use the following expressions:
export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib:$LD_LIBRARY_PATH
You will need to add this path to whatever file you like so that it is created each time, .login for example.
KHK
I opened my .cshrc file and added
setenv PATH /usr/local/cuda/bin:$PATH
setenv LD_LIBRARY_PATH /usr/local/cuda/lib:$LD_LIBRARY_PATH
as the export command was not allowed in it. I searched for a .login file and couldn’t find one to add anything.
I am still getting the same error…
I opened my .cshrc file and added
setenv PATH /usr/local/cuda/bin:$PATH
setenv LD_LIBRARY_PATH /usr/local/cuda/lib:$LD_LIBRARY_PATH
as the export command was not allowed in it. I searched for a .login file and couldn’t find one to add anything.
I am still getting the same error…