getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-users] Error with the python interface


From: David Danan
Subject: [Getfem-users] Error with the python interface
Date: Tue, 17 Jan 2017 11:44:27 -0500

Dear Getfem users,

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 ?

Thank you in advance,
David.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]