Deepstream5.1 issue with RedHat8

You need to check all the versions listed in the document.

DS5.1 needs RHEL 8.x, GStreamer 1.14.1, NVIDIA driver 460.32,…

All versions are listed in the link I sent to you.

If the version is not correct, the build will fail.