I think it’s because your installation directory is wrong.
Deepstream needs to be installed in the /opt directory.
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Installation.html
Also make sure the versions of TRT and CUDA match with DeepStream, as described in this link
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Installation.html#id9