Gajim 2.3.0 crashes on startup on macOS 14.6.1 arm64
After following wiki instructions for macOS (14.6.1 / Apple M2 arm64), Python crashes during launch.
All dependencies view brew and pip were installed ok, no errors.
Starting Gajim...
Could not determine window manager
(gst-plugin-scanner:88069): GLib-GIRepository-WARNING **: 10:09:23.505: Failed to load shared library 'libgobject-2.0.0.dylib' referenced by the typelib: dlopen(libgobject-2.0.0.dylib, 0x0009): tried: 'libgobject-2.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibgobject-2.0.0.dylib' (no such file), '/usr/lib/libgobject-2.0.0.dylib' (no such file, not in dyld cache), 'libgobject-2.0.0.dylib' (no such file)
(gst-plugin-scanner:88069): GLib-GIRepository-WARNING **: 10:09:23.506: Failed to load shared library 'libglib-2.0.0.dylib' referenced by the typelib: dlopen(libglib-2.0.0.dylib, 0x0009): tried: 'libglib-2.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibglib-2.0.0.dylib' (no such file), '/usr/lib/libglib-2.0.0.dylib' (no such file, not in dyld cache), 'libglib-2.0.0.dylib' (no such file)
** (gst-plugin-scanner:88069): CRITICAL **: 10:09:23.506: can't find gi.repository.Gst
objc[88069]: Class ResultReceiver is implemented in both /opt/homebrew/Cellar/gtk+3/3.24.43/lib/libgtk-3.0.dylib (0x105831e00) and /opt/homebrew/Cellar/gtk4/4.18.5/lib/libgtk-4.1.dylib (0x1286a3490). One of the two will be used. Which one is undefined.
objc[88069]: Class GtkApplicationQuartzDelegate is implemented in both /opt/homebrew/Cellar/gtk+3/3.24.43/lib/libgtk-3.0.dylib (0x105831e28) and /opt/homebrew/Cellar/gtk4/4.18.5/lib/libgtk-4.1.dylib (0x1286a34b8). One of the two will be used. Which one is undefined.
objc[88069]: Class GNSMenuItem is implemented in both /opt/homebrew/Cellar/gtk+3/3.24.43/lib/libgtk-3.0.dylib (0x105831e78) and /opt/homebrew/Cellar/gtk4/4.18.5/lib/libgtk-4.1.dylib (0x1286a3558). One of the two will be used. Which one is undefined.
objc[88069]: Class GNSMenu is implemented in both /opt/homebrew/Cellar/gtk+3/3.24.43/lib/libgtk-3.0.dylib (0x105831ea0) and /opt/homebrew/Cellar/gtk4/4.18.5/lib/libgtk-4.1.dylib (0x1286a3580). One of the two will be used. Which one is undefined.
objc[88069]: Class FilterComboBox is implemented in both /opt/homebrew/Cellar/gtk+3/3.24.43/lib/libgtk-3.0.dylib (0x105831f18) and /opt/homebrew/Cellar/gtk4/4.18.5/lib/libgtk-4.1.dylib (0x1286a35f8). One of the two will be used. Which one is undefined.
objc[88069]: Class gdkCoreCursor is implemented in both /opt/homebrew/Cellar/gtk+3/3.24.43/lib/libgdk-3.0.dylib (0x104585628) and /opt/homebrew/Cellar/gtk4/4.18.5/lib/libgtk-4.1.dylib (0x1286a3648). One of the two will be used. Which one is undefined.
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 921, in _load_unlocked
File "<frozen importlib._bootstrap>", line 813, in module_from_spec
File "/opt/homebrew/lib/python3.13/site-packages/gi/importer.py", line 146, in create_module
importlib.import_module('gi.repository.' + dep.split("-")[0])
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.13/3.13.3_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 921, in _load_unlocked
File "<frozen importlib._bootstrap>", line 813, in module_from_spec
File "/opt/homebrew/lib/python3.13/site-packages/gi/importer.py", line 146, in create_module
importlib.import_module('gi.repository.' + dep.split("-")[0])
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.13/3.13.3_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 921, in _load_unlocked
File "<frozen importlib._bootstrap>", line 813, in module_from_spec
File "/opt/homebrew/lib/python3.13/site-packages/gi/importer.py", line 147, in create_module
dynamic_module = load_overrides(introspection_module)
File "/opt/homebrew/lib/python3.13/site-packages/gi/overrides/__init__.py", line 98, in load_overrides
override_mod = importlib.import_module(override_package_name)
File "/opt/homebrew/Cellar/python@3.13/3.13.3_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/gi/overrides/GLib.py", line 37, in <module>
from gi import _option as option
File "/opt/homebrew/lib/python3.13/site-packages/gi/_option.py", line 41, in <module>
OPTION_CONTEXT_ERROR_QUARK = GLib.quark_to_string(GLib.option_error_quark())
~~~~~~~~~~~~~~~~~~~~~~~^^
gi._error.GError: gi-invoke-error-quark: Could not locate g_option_error_quark: dlopen(libglib-2.0.0.dylib, 0x0009): tried: 'libglib-2.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibglib-2.0.0.dylib' (no such file), '/usr/lib/libglib-2.0.0.dylib' (no such file, not in dyld cache), 'libglib-2.0.0.dylib' (no such file) (1)
2025-07-11 10:09:48 (W) gajim AV dependency test failed: Namespace Farstream not available
./abrir.sh: line 7: 88047 Segmentation fault: 11 python3 launch.py "$@"
/opt/homebrew/Cellar/python@3.13/3.13.3_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/multiprocessing/resource_tracker.py:301: UserWarning: resource_tracker: There appear to be 5 leaked semaphore objects to clean up at shutdown: {'/mp-umd7ubt3', '/mp-ryju1uzt', '/mp-ak__xvjz', '/mp-d55eeyge', '/mp-feyzw89_'}
warnings.warn(
```