[gst-devel] gst-python: NO_IMPORT_PYGOBJECT on Mac OS X

Guido guido.gmane at gmail.com
Fri Feb 29 17:59:45 CET 2008


I am trying to compile gst-python 0.10.10 under Mac OS X 10.5.2
and the MacPorts infrastructure (<http://www.macports.org>) but I
can't fix the "duplicated symbols" errors by adding the
directive "#define NO_IMPORT_PYGOBJECT" at the beginning of
the conflicting files.

The compilation succeeds when I apply the patch from Fink
(<http://fink.cvs.sourceforge.net/fink/dists/10.4/unstable/main/finkinfo/gnome/gst-python-0.10-py.patch?revision=1.1&view=markup>)
but, 

if I try the test programs, the following error message
is displayed:

ImportError: 
dlopen(/opt/local/lib/python2.5/site-packages/gst-0.10/gst/_gst.so, 9): 
Symbol not found: __PyGObject_API
  Referenced from: /opt/local/lib/python2.5/site-packages/gst-0.10/gst/_gst.so


Thanks in advance for any suggestion,

Guido






More information about the gstreamer-devel mailing list