i am using
1.nvidia toolkit 3.0
2.nvidia sdk 3.0
on centos 5 32 bit
#make
output:-
/usr/bin/ld: cannot find -lshrutil_i386
collect2: ld returned 1 exit status
make: *** […/…/bin/linux/release/amit] Error 1
pplzz help
i am using
1.nvidia toolkit 3.0
2.nvidia sdk 3.0
on centos 5 32 bit
#make
output:-
/usr/bin/ld: cannot find -lshrutil_i386
collect2: ld returned 1 exit status
make: *** […/…/bin/linux/release/amit] Error 1
pplzz help
I’m getting a similar error:
~/NVIDIA GPU Computing SDK/C/src/vectorAdd$ make
/usr/bin/ld: cannot find -lshrutil_x86_64
collect2: ld returned 1 exit status
make: *** […/…/bin/linux/release/vectorAdd] Error 1
Trying to make the simple vectorAdd program from the NVIDIA CUDA site.
http://developer.download.nvidia.com/compu…ar_Algebra.html
Please help!
Thanks in advance,
On Ubuntu 10.04, using gcc/g++ 4.3
It means that you haven’t compiled a support library that ships in the SDK in source form. You need to run ‘make’ in the NVIDIA_GPU_Computing_SDK/shared directory of the SDK.
Hi I managed to get it to work now. I used the gpucomputingsdk_3.0_linux.run from http://developer.download.nvidia.com/compu…k_3.0_linux.run
I’ve got all the OpenCL and shared directories now.
I also had to install some opengl/glut packages along the way to get rid of the linking errors.
In addition, had to put in a link between /usr/lib and /usr/lib/nvidia-current . Ubuntu has a managed driver for the GPU and puts the drivers in /usr/lib/nvidia-current, whereas the SDK only searches in /usr/lib.
Anyway, here’s the link:
sudo ln -s /usr/lib/nvidia-current/*.so /usr/lib
Many thanks for your help.