Closed totaam closed 1 year ago
Only a problem for CLIENT_ONLY=1
builds.
I am no longer seeing this problem when packaging, only when trying to run code from a jhbuild shell.
For some strange reason, we now have to set LD_LIBRARY_PATH
to run test commands, ie:
LD_LIBRARY_PATH=$JHBUILD_PREFIX/lib python3 xpra/platform/path.py
Re-appeared when building the v5.x branch, and not for master! Ran the offending import from a shell:
$ python3 -c "from gi.repository import GLib, GdkPixbuf, Pango, GObject, Gtk, Gdk"
** (process:13827): WARNING **: 12:32:48.766: Failed to load shared library 'libgdk_pixbuf-2.0.0.dylib' \
referenced by the typelib: dlopen(libgdk_pixbuf-2.0.0.dylib, 0x0009): tried: \
'libgdk_pixbuf-2.0.0.dylib' (no such file), \
'/System/Volumes/Preboot/Cryptexes/OSlibgdk_pixbuf-2.0.0.dylib' (no such file), \
'/usr/lib/libgdk_pixbuf-2.0.0.dylib' (no such file, not in dyld cache), \
'libgdk_pixbuf-2.0.0.dylib' (no such file), \
'/usr/local/lib/libgdk_pixbuf-2.0.0.dylib' (no such file), \
'/usr/lib/libgdk_pixbuf-2.0.0.dylib' (no such file, not in dyld cache)
(..)
assert g_type != TYPE_NONE
Workaround in https://github.com/Xpra-org/xpra/commit/262cffc6b3745c68db8b528405652ed1ca709bc8
Why doesn't setting DYLD_LIBRARY_PATH
help?
Why is it failing for gdk pixbuf? Could this be jpeg related? (#19)
Just like https://github.com/Xpra-org/gtk-osx-build/issues/20#issue-943258833 and https://github.com/Xpra-org/gtk-osx-build/issues/7#issuecomment-765525544.
Really not sure what causes this or how to fix it. IIRC, last time I saw this was caused by a DLL path issue, perhaps caused by #19?