Plugin loading failing with Gstreamer 1.14.0

Sebastian Dröge sebastian at centricular.com
Mon Mar 26 08:10:46 UTC 2018


On Mon, 2018-03-26 at 00:05 -0700, Vinod Kesti wrote:
> Hi,
> 
>  I have Proprietary plugin written on top of Gstreamer and
> basetranform.
> With latest Gstreamer 1.14 I am not able to load the my plaugin.
> 
> gst-inspect is unable to load the plugin due to the symbol issue.
> Below is
> the debug log snippet.
> 
> GST_DEBUG=5 gst-inspect-1.0 /usr/local/lib/gstreamer-1.0/libmyplugin-
> 3.0.so
> 
> 0:00:00.681729996  1321       0xf91e00 DEBUG     GST_PLUGIN_LOADING
> gstplugin.c:760:_priv_gst_plugin_load_file_for_registry: attempt to
> load
> plugin
> "/opt/riversilica/common/install/lib/gstreamer-1.0/libmyplugin-
> 3.0.so"
> 0:00:00.683443646  1321       0xf91e00 DEBUG     GST_PLUGIN_LOADING
> gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: Could not
> find
> symbol 'gst_plugin_myplugin_3_get_desc', falling back to
> gst_plugin_desc
> 0:00:00.683470375  1321       0xf91e00 DEBUG     GST_PLUGIN_LOADING
> gstplugin.c:818:_priv_gst_plugin_load_file_for_registry: Could not
> find
> plugin entry point in
> "/opt/riversilica/common/install/lib/gstreamer-1.0/libmyplugin-
> 3.0.so"
> Could not load plugin file: File
> "/opt/riversilica/common/install/lib/gstreamer-1.0/libmyplugin-
> 3.0.so" is
> not a GStreamer plugin
> 
> when I checked symbols in library  gst_plugin_myplugin_get_desc is
> available
> but inspect is looking for gst_plugin_myplugin_3_get_desc.
> 
> Library exported symbols.
> nm -a /usr/local/lib/gstreamer-1.0/libmyplugin-3.0.so | grep T
> 0000000000002b0c T _fini
> 0000000000204000 d _GLOBAL_OFFSET_TABLE_
> 0000000000002aa0 T gst_plugin_myplugin_get_desc
> 0000000000002ab0 T gst_plugin_myplugin_register
> 0000000000001690 T _init
>                  w _ITM_deregisterTMCloneTable
>                  w _ITM_registerTMCloneTable
> 0000000000203c58 d __JCR_LIST__
> 0000000000204240 d __TMC_END__
> 
> When I removed library version prefix from the library. There is no
> problem. 
> Can some one help me to fix this issue, without removing the library
> version
> number in the library ?? 

Since 1.14 it is required that the library filenames match the plugin
name (and thus the plugin
entry point symbol). Your only options are to rename either the plugin
or to rename the file.

-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com id="-x-
evo-selection-start-marker">
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180326/40cc793a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180326/40cc793a/attachment.sig>


More information about the gstreamer-devel mailing list