Deepstream-test1 :can not creates instance of "nvinfer" element and "nvdsosd"element

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson nano b01)
• DeepStream Version 5.1
• JetPack Version (valid for Jetson only)4.5.1
• TensorRT Version8.0

My device is Jetson nano B01. I follow the official tutorial:
Here is the link:Quickstart Guide — DeepStream 5.1 Release documentation

  1. Install Jetson SDK components

  2. Install Dependencies

3 .Install librdkafka (to enable Kafka protocol adaptor for message broker)

4 Install the DeepStream SDK:
* Method 2 : Using the DeepStream tar package

Then i run “$ deepstream-app --help”,An error message appears:

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

When I want to run deepstream-test program:

$ cd apps/deepstream-test1/
$ make
$ ./deepstream-test1-app /opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_720p.h264

An error message appears:

One element could not be created. Exiting.

The tracker found the following problems:

/* Use nvinfer to run inferencing on decoder’s output,behaviour of inferencing is set through config file */
pgie = gst_element_factory_make (“nvinfer”, “primary-nvinference-engine”);

/* Create OSD to draw on the converted RGBA buffer */
nvosd = gst_element_factory_make (“nvdsosd”, “nv-onscreendisplay”);

the program is can not creates instance of “nvinfer” element and "nvdsosd"element,How should I solve these problems?

Sorry for the late response, is this still an issue to support?

Thanks

After I reinstall jetpack using NVIDIA SDK manager, the problem is resolved.

Thanks