Bug#761363: nvidia-visual-profiler:

Graham Inggs graham at nerve.org.za
Sat Sep 13 09:27:29 UTC 2014


Package: nvidia-visual-profiler
Version: 6.0.37-1

While attempting to open a new profiling session, NVIDIA Visual
Profiler (nvvp) 6.0 pops up the following message:

Unable to profile application.
"The shared library required for profiling cannot be located.  The library,
"libcuinj", is located in the lib/ and lib64/ directories of the CUDA Toolkit.
Make sure these directories are on your library path before running the Visual
Profiler."

Strace shows that nvvp is looking in /usr/bin and /usr/lib64 for this library:

2939  open("/usr/bin/libcuinj64.so.6.0", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
2939  open("/usr/bin/../lib64/libcuinj64.so.6.0", O_RDONLY|O_CLOEXEC)
= -1 ENOENT (No such file or directory)

This behaviour is different to previous versions of nvvp.
Adding a symlink in /usr/bin or /usr/lib64 to
/usr/lib/x86_64-linux-gnu/libcuinj64.so.6.0 solves the problem.
Please also see bug #665931 and the changelog entry for
nvidia-cuda-toolkit 4.1.28-2.
Perhaps libcuinj{32,64}.so can be moved back into nvidia-cuda-dev now?



More information about the pkg-nvidia-devel mailing list