python and gtk3 and gdk-pixbuf and maybe big sur

Langer, Stephen A. (Fed) stephen.langer at nist.gov
Mon Jul 12 15:40:13 UTC 2021


Hi --

Since upgrading to Big Sur and reinstalling all ports, I can't run gtk3 with either python37 or python38.  Running this:

% python
>>> import gi
>>> gi.require_version("Gtk", "3.0")
>>> from gi.repository import Gtk

Leads to this:

** (process:3291): WARNING **: 11:18:57.866: Failed to load shared library './gdk-pixbuf/libgdk_pixbuf-2.0.0.dylib' referenced by the typelib: dlopen(./gdk-pixbuf/libgdk_pixbuf-2.0.0.dylib, 9): image not found

using either python27 or python38.  The gdk-pixbuf2 port is installed.

I have two MacPorts installations, one for the default variants and one that uses quartz instead of x11, so both are built from source and use a non-standard installation prefix.  This didn’t cause a problem before the Big Sur upgrade.  Both have the same problem now.

Can someone tell me if this problem exists on a normal MacPorts installation?  Am I doing something wrong?  I've tried the fixes suggested in https://trac.macports.org/ticket/61699.

I don't know for sure if the problem is due to the Big Sur upgrade.  

Thanks.

 -- Steve




More information about the macports-users mailing list