networkdynamics / zenlib

The Zero Effort Network Library for Python
http://zen.networkdynamics.org
Other
67 stars 25 forks source link

undefined symbol: __pyx_t_12 in hypergraph.so #11

Closed fenekku closed 11 years ago

fenekku commented 11 years ago

Theres seems to be an issue using the library on Ubuntu 12.04. Running the tests (from zenlib/ and not src/) causes the following undefined symbol error:

$ python -m zen.test
/usr/bin/python: /usr/local/lib/python2.7/dist-packages/zen/hypergraph.so: undefined symbol: __pyx_t_12

This makes the library fail at runtime with the same error:

$python tutorial.py
Traceback (most recent call last):
  File "tutorial.py", line 1, in <module>
    import zen
  File "/usr/local/lib/python2.7/dist-packages/zen/__init__.py", line 37, in <module>
    from hypergraph import *
ImportError: /usr/local/lib/python2.7/dist-packages/zen/hypergraph.so: undefined symbol: __pyx_t_12

System

druths commented 11 years ago

I've successfully been able to reproduce this bug on another Ubuntu system. Am looking into the cause/solution.

druths commented 11 years ago

I've replicated it now on Mac OS X as well - it's an issue created by a new version of Cython.