/etc/env.d/99cuda has: LDPATH=/opt/cuda/lib Whereas on amd64 it should be: LDPATH=/opt/cuda/lib64 Of course this causes the libraries to not be found: $ /opt/cuda/sdk/C/bin/linux/release/deviceQuery /opt/cuda/sdk/C/bin/linux/release/deviceQuery: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory Reproducible: Always Steps to Reproduce:
Which exact version of dev-util/nvidia-cuda-sdk please?!
Sorry, forgot to mention. I'm using 3.0.0.
Actually, the env.d file is installed by nvidia-cuda-toolkit, not nvidia-cuda-sdk. Assuming you're running nvidia-cuda-toolkit-3.0, are you still seeing this problem on your system? I'm on amd64, and the entry definitely pooints to lib64.