import dolfin, undefined symbol: Py_InitModule4
First:
$ python -c"import dolfin"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/
import cpp
File "/home/
exec("import %s" % module_name)
File "<string>", line 1, in <module>
File "/home/
_common = swig_import_
File "/home/
_mod = imp.load_
ImportError: /home/paulcon/
Second:
$ nm _common.so | grep Py_InitModule4
U Py_InitModule4
Third:
$ ldd _common.so | grep python
libpython2.
Fourth:
$ nm /share/
000000000010aa10 T Py_InitModule4_64
Question:
Did I miss something? A "64" flag somewhere along the line? Is it something with swig? I installed swig (2.0.9) from source.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Paul Constantine
- Solved:
- Last query:
- Last reply: