Deepstream 5.1 - libnvinfer.so no such file

Hello,

I previously had deepstream 5.0.1 running on my Jetson nano but decided to flash the sd card with updated jetpack 4.6 image and install deepstream 5.1.

I followed the guide here Quickstart Guide — DeepStream 5.1 Release documentation

  1. I flashed this image: jetson-nano-jp46-sd-card-image.zip
  2. Installed the dependencies listed on the guide
  3. skipped librdkafka install
  4. installed deepstream sdk using deepstream_sdk_v5.1.0_jetson.tbz2 & instructions from the guide

When I run deepstream-app -c with one of the sample configs in the tlt_pretrained_models dir, I get:

“deepstream-app: error while loading shared libraries: libnvinfer.so.7: cannot open shared object file: No such file or directory”

I found this post which appears to be related but I am not able to get the suggested solution to work. Perhaps I am doing something wrong.

Thanks for any help

“deepstream-app: error while loading shared libraries: libnvinfer.so.7: cannot open shared object file: No such file or directory"
You need to install nvinfer, you can install it through sdkmanager.