After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
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'...
gst-inspect-0.10: Failed to load plugin '/system/lib/libthread_db.so': Cannot...
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-android
0.10.36
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-15 05:42 UTC by sunshine_uyl
Modified: 2012-01-31 12:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sunshine_uyl 2011-11-15 05:42:59 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:/ #
Comment 1 Vincent Penquerc'h 2012-01-17 12:06:06 UTC
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.
Comment 2 Vincent Penquerc'h 2012-01-31 12:25:50 UTC
This seems to be an error setting env vars.
If there is still a gstreamer issue after correcting this, please reopen.