GNOME Bugzilla – Bug 664088
gst-inspect-0.10: Failed to load plugin '/system/lib/libthread_db.so': Cannot load library: reloc_library[1317]: 376 cannot locate 'ps_pglobal_lookup'...
Last modified: 2012-01-31 12:25:50 UTC
I type the following command under Android ADB shell in Android 3.1. root@android:/ # export GST_PLUGIN_PATH=/system/lib root@android:/ # export GST_REGISTRY_UPDATE=1 root@android:/ # export GST_REGISTRY=/sdcard/reg.bin root@android:/ # /system/bin/gst-inspect-0.10 libgstdecodebin2 But unfortunately the following warning messages shown on terminal. How can I fix it? (gst-inspect-0.10:376): GStreamer-WARNING **: env GST_PLUGIN_SCANNER= (null) (gst-inspect-0.10:376): GStreamer-WARNING **: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. If you are running an uninstalled GStreamer setup, you might need to update your gst-uninstalled script so that the GST_PLUGIN_SCANNER environment variable gets set. (gst-inspect-0.10:376): GStreamer-WARNING **: filename = /system/lib/libsysutils.so (gst-inspect-0.10:376): GStreamer-WARNING **: Failed to load plugin '/system/lib/libthread_db.so': Cannot load library: reloc_library[1317]: 376 cannot locate 'ps_pglobal_lookup'... No such element or plugin 'libgstdecodebin2' [1] + Stopped (signal) /system/bin/gst-inspect-0.10 libgstdecodebin2 root@android:/ #
It looks like you're telling GStreamer that plugins are in /system/lib. It will load shared objects in there, and check whether they are plugins. It finds libsysutils.so, which it cannot load via dlopen. I assume this library can be used when done in the usual manner (ld.so, if that exists on Android). There is no such element as libgstdecodebin2. Either try decodebin2, or the path to libgstdecodebin2.so (the shared object that implements the decodebin2 element). With this done, if you still get an error loading the plugin scanner, please ensure you have set up everything as the gst-on-Android docs mention. If the issue persists, please report it.
This seems to be an error setting env vars. If there is still a gstreamer issue after correcting this, please reopen.