Deep Stream 5.1on Jetpack 4.6 installation Issues

I have Latest jetpack version installed and Deep Steram 5.1 version but when ever i try to run the command of deepstream-app -c configfile.txt I am getting this error.

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

I Downloaded the DeepStream 5.1 Jetson tar package deepstream_sdk_v5.1.0_jetson.tbz2 , to the Jetson device and entered these commands to extract and install the DeepStream SDK

sudo tar -xvf deepstream_sdk_v5.1.0_jetson.tbz2 -C /
cd /opt/nvidia/deepstream/deepstream-5.1
sudo ./install.sh
sudo ldconfig

Can’t figure out whats the issue.

The Deep Steram 5.1 can’t intall and work with JetPack 4.6.
Please wait the next DeepStream 6.0 which is compatible with JetPack 4.6, it’s scheduled to release before the end of Oct.

So this means I have to downgrade either jet pack version or the deep stream version so that they are compatible. For Deep Stream 5.1 Which one is compatible currently.