On Wed, Mar 26, 2014 at 3:00 PM, Bishesh Khanal <[email protected]> wrote:
> On Mon, Mar 24, 2014 at 11:23 AM, Johannes Ring <[email protected]> wrote:
>> Did you get this to work? If not, you could try to configure DOLFIN
>> with -DBoost_USE_MULTITHREADED:BOOL=OFF.
>
> I tried this too, but it still gives exactly the same error as before; ldd
> on libdolfin.so still returns the same content. I'm surprised that fenics
> seems to be very difficult to install!
> If it helps, here is the output when I do configure with make, before doing
> the make install:
>
> cmake
> -DCMAKE_INSTALL_PREFIX=/home/bkhanal/Documents/softwares/fenicsComponents/installDirectory/
> -DBoost_USE_MULTITHREADED:BOOL=OFF ..

The problem is that you have multiple installations of Boost and CMake
is not clever enough to pick the correct Boost libraries without some
help.

Try to export the following environment variables before running cmake
(modify them to match your setup):

  export BOOST_DIR=/path/to/boost-installation
  export BOOST_INCLUDEDIR=${BOOST_DIR}/include
  export BOOST_LIBRARYDIR=${BOOST_DIR}/lib
  export BOOST_ROOT=${BOOST_DIR}

Also remove the CMakeCache.txt file in the build directory before running cmake.

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

Reply via email to