I have just installed Getfem on a mac but i have trouble with the python interface. The compilation process occured without major issue, but when importing python in a demo example, I get the following error
Traceback (most recent call last):
File "demo_laplacian.py", line 30, in <module>
import getfem as gf
File "/usr/local/lib/python2.7/site-packages/getfem/__init__.py", line 16, in <module>
from getfem import *
File "/usr/local/lib/python2.7/site-packages/getfem/getfem.py", line 44, in <module>
from _getfem import *
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/getfem/_getfem.so, 2): Symbol not found: __ZNSt12bad_weak_ptrD1Ev
Referenced from: /usr/local/lib/python2.7/site-packages/getfem/_getfem.so
Expected in: flat namespace
in /usr/local/lib/python2.7/site-packages/getfem/_getfem.so
I had this issue with the options "-enable-python=yes --with-pic" for configure.
Do you have any clue about the cause of the problem ?