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

I am trying to run a deepstream object detection model from the docker container deepstream-l4t:5.0.1-20.09-samples.
when I run the command
deepstream-app -c source1_barcode.txt
I am getting the error.
deepstream-app: error while loading shared libraries: libnvinfer.so.7: cannot open shared object file: No such file or directory

Can you find ll /usr/lib/aarch64-linux-gnu/libnvinfer.so.7.1.3?

I removed everything and reinstalled a new jetpack from SDKmanager. Now I am able to run without any issues.