cannot open shared object file: No such file or directory

I delete for some reason. Although I reinstall tensorrt 3.0 as below:

Installation Guide for deb packages

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 back, I get error like:

./sample_uff_mnist_debug: error while loading shared libraries: cannot open shared object file: No such file or directory when I execute the sample.

How to solve it?


Please try this:

$ sudo apt-get purge "libnvinfer*"
$ sudo apt-get install tensorrt


Hi AastaLLL:

it does not work, the problem still exists.


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.


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

Thanks @Andrey1984

Yes, I can locate.
What will be the next step?


I have the same problem with but

locate has no results

It appears to me that " you need to have a local TensorRT installation" source:

@belamarod: are you approaching the issue at Host PC or Jetson?