distutils.core.setup: ImportError: undefined symbol: g_free
27 May
2007
27 May
'07
6:22 p.m.
Hallo, I want to call some C functions from the gnome-panel source. setup.py:
setup(name = "calwrap", version = "1.0", ext_modules = [ ...
Then I call: ./setup.py build Compiling works fine, I get: calwrap.so Then in python I get the following error:
Python 2.5.1 (r251:54863, May 2 2007, 16:56:35) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import calwrap Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: ./calwrap.so: undefined symbol: g_free
I tried:
extra_link_args = ["-Xlinker", "-export-dynamic"]
Any ideas? fg Thomas
6172
Age (days ago)
6172
Last active (days ago)
0 comments
1 participants
participants (1)
-
Thomas