Errors when building my porject using libnvinfer.so

hello all.I use Jetson Xavier NX board to make a project for detecting object,but errors when building my porject using libnvinfer.so .

with reports like these:
undefined reference to NvMediaDlaLoadableCreate' undefined reference to NvMediaDlaGetInputTensorDescriptor’
undefined reference to `NvMediaDeviceDestroy’

whatare the problems? is it dempends on libnvmdeia.so ? and where is the libnvmdeia.so place on in the jetson os system?