On Sun, 07 Dec 2014 20:18:43 +0100
Steffen Wittek <[email protected]> wrote:

> Hi Jan,
> 
> thx. Unfortunately what I after that realized is that I had some 
> problems with the boost-libraries in the first place. Thats why the 
> errors popped up. Do you have anything to comment on:
> [...]
> I got everything to compile finally, but an import of dolfin produces 
> the error
> ImportError: /home/phoenix/Work/FEniCS/lib/libdolfin.so.1.4:
> undefined symbol: _ZN5boost6thread4joinEv
> 
> As brought up before this is due to the boost-package that is mengled
> up and that I didn't compile before properly. A compilation of the
> latter stopped with another error however. I guess that after that
> fix I recompile dolfin one last time and then I am good to go. The 
> ..Work/FEniCS/src/boost_1_55_0/dorsal_build.log ends with
> ...failed updating 45 targets...
> ...skipped 50 targets...
> ...updated 564 targets...
> 
> and can be seen in full glory here: 
> https://www.dropbox.com/s/529m6pb4ygcsxxv/dorsal_build.log?dl=0

I really don't know. Maybe you could ask Boost support about the errors
compiler reports.

Jan

> [...]
> 
> 
> On 12/06/14 18:02, Jan Blechta wrote:
> > 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

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

Reply via email to