On Fri, 05 Dec 2014 16:02:03 +0100
Steffen Wittek <[email protected]> wrote:

> I succesfully compiled dolfin, but now when I try to import the
> module in python I get yet another error message:
> 
> Python 2.7.8 (default, Sep 24 2014, 18:26:21)
> [GCC 4.9.1 20140903 (prerelease)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import dolfin
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
>    File 
> "/home/phoenix/Work/FEniCS/lib/python2.7/site-packages/dolfin/__init__.py", 
> line 16, in <module>
>      from . import cpp
>    File 
> "/home/phoenix/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/__init__.py",
>  
> line 42, in <module>
>      exec("from . import %s" % module_name)
>    File "<string>", line 1, in <module>
>    File 
> "/home/phoenix/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/common.py", 
> line 32, in <module>
>      _common = swig_import_helper()
>    File 
> "/home/phoenix/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/common.py", 
> line 28, in swig_import_helper
>      _mod = imp.load_module('_common', fp, pathname, description)
> ImportError: /home/phoenix/Work/FEniCS/lib/libdolfin.so.1.4:
> undefined symbol: _ZN5boost6thread4joinEv
> 
> does the boost in the last line refer to the boost libraries? If yes
> how do I set the paths correctly s.t. dolfin sees them?

Following

  $ ldd fenics/lib/libdolfin.so | grep -i boost

must report correct libraries you used for compiling. ldd searches
in LD_LIBRARY_PATH. This is set in fenics.conf generated by Dorsal.

Jan

> 
> Steffen
> _______________________________________________
> fenics-support mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics-support

_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to