matplotlib, gtk, and libpangocairo problem
Ryan Schmidt
ryandesign at macports.org
Wed Jul 2 15:07:54 PDT 2008
On Jul 2, 2008, at 16:49, Dexter Douglas wrote:
> I am trying to run some matplotlib examples. I get the error
> below. All of my ports are up-to-date. Does anyone know what is
> wrong?
>
> Thanks.
>
> [begin error]
> File "/opt/local/lib/python2.5/site-packages/matplotlib/backends/
> backend_gtk.p
> y", line 7, in <module>
> import gtk; gdk = gtk.gdk
> File "/opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/
> __init__.py", line 48, in <module>
> from gtk import _gtk
> ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/
> Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so, 2):
> Library not loaded: /opt/local/lib/libpangocairo-1.0.0.dylib
> Referenced from: /opt/local/Library/Frameworks/Python.framework/
> Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so
> Reason: Incompatible library version: _gtk.so requires version
> 2003.0.0 or later, but libpangocairo-1.0.0.dylib provides version
> 2001.0.0
> [end error]
This was just answered here:
http://lists.macosforge.org/pipermail/macports-users/2008-July/
010839.html
More information about the macports-users
mailing list