gst-inspect-1.0 cannot find nvtracker (Jetson TX2)

I reflashed my device and reinstalled Deepstream. When I tried to use the nvtacker plugin, gstreamer can’t find it.

gst-inspect-1.0 nvtracker
No such element or plugin ‘nvtracker’

But nvosd works and can be found.

What else do I need to do?

(Same problem with nvcaffegie)

The shared libraries are OK and all there
ldd libgstnvtracker.so
linux-vdso.so.1 => (0x0000007f9c857000)
libgstreamer-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libgstreamer-1.0.so.0 (0x0000007f9c6fa000)
libglib-2.0.so.0 => /lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000007f9c5f3000)
libgobject-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0 (0x0000007f9c596000)
libnvrm.so => /usr/lib/aarch64-linux-gnu/tegra/libnvrm.so (0x0000007f9c55e000)
libnvddk_2d_v2.so => /usr/lib/aarch64-linux-gnu/tegra/libnvddk_2d_v2.so (0x0000007f9c53c000)
libnvbuf_utils.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvbuf_utils.so.1.0.0 (0x0000007f9c524000)
libnvid_mapper.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvid_mapper.so.1.0.0 (0x0000007f9c511000)
libnvtracker.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvtracker.so.1.0.0 (0x0000007f9c18e000)
libgstbasenvtransform.so => /usr/lib/aarch64-linux-gnu/tegra/libgstbasenvtransform.so (0x0000007f9c171000)
libgstnvivameta.so => /usr/lib/aarch64-linux-gnu/libgstnvivameta.so (0x0000007f9c15e000)
libnvtx_helper.so => /usr/lib/aarch64-linux-gnu/tegra/libnvtx_helper.so (0x0000007f9c14d000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f9c006000)
libgmodule-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0 (0x0000007f9bff1000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007f9bf44000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f9bf31000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f9bf04000)
/lib/ld-linux-aarch64.so.1 (0x0000005592777000)
libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000007f9be93000)
libffi.so.6 => /usr/lib/aarch64-linux-gnu/libffi.so.6 (0x0000007f9be7b000)
libnvos.so => /usr/lib/aarch64-linux-gnu/tegra/libnvos.so (0x0000007f9be5d000)
libnvrm_graphics.so => /usr/lib/aarch64-linux-gnu/tegra/libnvrm_graphics.so (0x0000007f9be4c000)
libnvddk_vic.so => /usr/lib/aarch64-linux-gnu/tegra/libnvddk_vic.so (0x0000007f9be2e000)
libEGL.so.1 => /usr/lib/aarch64-linux-gnu/tegra-egl/libEGL.so.1 (0x0000007f9be17000)
libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007f9bc88000)
libvisionworks.so => /usr/lib/libvisionworks.so (0x0000007f9aa5b000)
librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007f9aa43000)
libGLdispatch.so.0 => /usr/lib/aarch64-linux-gnu/tegra/libGLdispatch.so.0 (0x0000007f9a917000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007f9a8f5000)
libcudart.so.9.0 => /usr/local/cuda/lib64/libcudart.so.9.0 (0x0000007f9a890000)

Jetpack 3.3, DeepStream 1.5

When I copied it to a subfolder in my home directory that has an entry in
GST_PLUGIN_PATH, it works.

Is there a cache somewhere in gstreamer/DeepStream that needs to be cleared?

Then when I deleted it from my folder, gstreamers start knowing where to locate it in the original
gstreamer plugins folder.

This means that the first time I invoke gst-inspect, the “Filename” entry locates in in my folder.
After I delete from my folder and invoke gst-inspect a second time, “Filename” locates it in the original gstreamer plugins folder

Suspecting this

/home/nvidia/.cache/gstreamer-1.0/registry.aarch64.bin

Please refer to
https://devtalk.nvidia.com/default/topic/1046293/jetson-tx2/makefile-deepstream-example-on-jetson-tx2/post/5309835/#5309835