Plugin loading fails with Gstreamer 1.14.0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Plugin loading fails with Gstreamer 1.14.0

Gst-Geek
This post was updated on .
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 ??

Regards,
Vinod Kesti.







--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Plugin loading failing with Gstreamer 1.14.0

Sebastian Dröge-3
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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment