If you did not install TRT to system path, you need to explicitly dynamically link to it,
export LD_LIBRARY_PATH=/your TRT install library path/:$LD_LIBRARY_PATH
If you did not install TRT to system path, you need to explicitly dynamically link to it,
export LD_LIBRARY_PATH=/your TRT install library path/:$LD_LIBRARY_PATH