Could not find plugin entry point in "./libgstnvyolo.so"

I am trying to build the nvyolo plugin from https://github.com/NVIDIA-AI-IOT/deepstream_reference_apps/tree/master/yolo

I can build the plugin successfully, but gst-inspect-1.0 cannot find it. If i try and run gst-inspect-1.0 directly on the outpu so, i get the following messages:

0:00:00.467192844 5164 0x5594c7acec00 DEBUG GST_PLUGIN_LOADING gstplugin.c:760:_priv_gst_plugin_load_file_for_registry: attempt to load plugin “./libgstnvyolo.so”
0:00:00.499229089 5164 0x5594c7acec00 DEBUG GST_PLUGIN_LOADING gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: Could not find symbol ‘gst_plugin_nvyolo_get_desc’, falling back to gst_plugin_desc
0:00:00.499252914 5164 0x5594c7acec00 DEBUG GST_PLUGIN_LOADING gstplugin.c:818:_priv_gst_plugin_load_file_for_registry: Could not find plugin entry point in “./libgstnvyolo.so”
Could not load plugin file: File “./libgstnvyolo.so” is not a GStreamer plugin

How should I proceed?

Apparently there is an issue in gstreamer 1.14 where the filename of the plugin must match the base function names for the plugin to be detected properly.

In this case, simply renaming the built plugin file to libgstyoloplugin.so (from libgstnvyolo.so) allows gst-inspect-1.0 to open and inspect the plugin.

4 Likes

Dear all,

$ rm ~/.cache/gstreamer-1.0/registry.x86_64.bin
suryadi@xtal:/opt/nvidia/deepstream/deepstream-4.0/sources/apps/sample_apps/deepstream-perf-demo$ GST_DEBUG=3 gst-inspect-1.0 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvyolo.so
No such element or plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvyolo.so'

How to compile or to get libgstnvyolo.so?

Thank you very much in advance.

warmest regards,
Suryadi