problem with py25-gobject @2.14.0
immram
immram at gmail.com
Sat Nov 17 15:43:01 PST 2007
Hi,
I am running macports 1.520 and I have a problem with py25-gobject. It seems
to compile and install fine but when I run a simple python program which
imports gtk, then I get this error:
File "/opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line
38, in <module>
import gobject as _gobject
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gobject/work/destroot/opt/local/lib/python2.5/site-packages/gtk-
2.0/gobject/__init__.py", line 30, in <module>
from gobject.constants import *
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gobject/work/destroot/opt/local/lib/python2.5/site-packages/gtk-
2.0/gobject/constants.py", line 22, in <module>
from _gobject import type_from_name
ImportError: dlopen(/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so,
2): Symbol not found: _PyGBoxed_Type
Referenced from: /opt/local/lib/python2.5/site-packages/gtk-2.0
/gobject/_gobject.so
Expected in: flat namespace
Is there any way to fix this?
thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20071117/c3d89fe8/attachment.html
More information about the macports-users
mailing list