First of all, you can delete Gstreamer cache
If it does not help, check your applications packages. Maybe something got wrong in your DeepStream installation. You can check it like that:
ldd /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-app