I delete libcudnn.so.7 for some reason. Although I reinstall tensorrt 3.0 as below:
Installation Guide for deb packages
Installation:
$ sudo dpkg -i nv-tensorrt-repo-ubuntu1604-rc-cuda8.0-trt3.0-20170922_3.0.0-1_arm64.deb
$ sudo apt-get update
$ sudo apt-get install tensorrt
I can’t get libcudnn.so.7 back, I get error like:
./sample_uff_mnist_debug: error while loading shared libraries: libcudnn.so.7: cannot open shared object file: No such file or directory when I execute the sample.
How to solve it?
Hi,
Please try this:
$ sudo apt-get purge "libnvinfer*"
$ sudo apt-get install tensorrt
Thanks.
Hi AastaLLL:
it does not work, the problem still exists.
Hi,
Try this:
mkdir tmp
dpkg -x nv-tensorrt-repo-ubuntu1604-rc-cuda8.0-trt3.0-20170922_3.0.0-1_amd64.deb tmp/
cd tmp/var/nv-tensorrt-repo-rc-cuda8.0-trt3.0-20170922/
sudo dpkg -i libcudnn*
sudo apt-get update
We test this issue on an x86-based machine, but steps should be similar.
Thanks.
Hi ,
I have the same problem but I can’t reproduce that steps.
Could you help me?
can you locate the cudnn library with the code below?
sudo apt-get install mlocate
sudo updatedb
locate libcudnn.so
Thanks @Andrey1984
Yes, I can locate.
What will be the next step?
/home/isa/.cache/bazel/_bazel_isa/85cd23d2cc27395abc3159f5b2f5e408/external/local_config_cuda/cuda/cuda/lib/libcudnn.so
/home/isa/.cache/bazel/_bazel_isa/c3d72577c8afb481e7e96d7f3ee0b388/external/local_config_cuda/cuda/cuda/lib/libcudnn.so
/home/isa/Descargas/cuda/lib64/libcudnn.so
/home/isa/Descargas/cuda/lib64/libcudnn.so.7
/home/isa/Descargas/cuda/lib64/libcudnn.so.7.1.3
/home/isa/tensorflow_cc/tensorflow_cc/build/tensorflow/bazel-tensorflow/external/local_config_cuda/cuda/cuda/lib/libcudnn.so
/usr/local/cuda-8.0/targets/x86_64-linux/lib/libcudnn.so
/usr/local/cuda-8.0/targets/x86_64-linux/lib/libcudnn.so.7
/usr/local/cuda-8.0/targets/x86_64-linux/lib/libcudnn.so.7.1.3
I have the same problem with libnvinfer.so.4 but
locate libnvinfer.so has no results
@belamarod: are you approaching the issue at Host PC or Jetson?