Failed to load shared library 'libgstreamer-1.0.0.dylib'

Shishir Pokharel akaccr at gmail.com
Fri Jun 28 05:53:44 UTC 2019


Hi all,

I am stuck with the following error. I found the issue reported on mac and
the patch mentioned on
https://gitlab.gnome.org/GNOME/gobject-introspection/issues/222. With the
latest git repo ( which has the patch) I am still getting this error. Any
input to resolve this issue would be greatly appreciated.

>>> import gi
>>> gi.require_version('Gst', '1.0')
>>> from gi.repository import Gtk, Gst
** (.:48500): WARNING **: 22:44:55.204: Failed to load shared library
'libgstreamer-1.0.0.dylib' referenced by the typelib:
dlopen(libgstreamer-1.0.0.dylib, 9): image not found
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 638, in
_load_backward_compatible
  File
"/Users/shishir.pokharel/Desktop/custom_gst/gst-build/subprojects/pygobject/gi/importer.py",
line 146, in load_module
    dynamic_module = load_overrides(introspection_module)
  File
"/Users/shishir.pokharel/Desktop/custom_gst/gst-build/subprojects/pygobject/gi/overrides/__init__.py",
line 118, in load_overrides
    override_mod = importlib.import_module(override_package_name)
  File
"/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/__init__.py",
line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File
"/Users/shishir.pokharel/Desktop/custom_gst/gst-build/subprojects/gst-python/gi/overrides/Gst.py",
line 71, in <module>
    Element = override(Element)
  File
"/Users/shishir.pokharel/Desktop/custom_gst/gst-build/subprojects/pygobject/gi/overrides/__init__.py",
line 195, in override
    assert g_type != TYPE_NONE
AssertionError

Thanks
/Shishir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190627/e20db6ef/attachment.html>


More information about the gstreamer-devel mailing list