Hi Mikkel,
Which Linux distribution/version are you using?
Could you send the output of running 'make VERBOSE=1'.
Cheers,
Chris
On Tue, 11 Sep 2018 13:05:10 +0100, Mikkel Bue Lykkegaard <mikkelbue@gmail.com> wrote:
> Hi all
>
> I am trying to install Nektar++ for the first time, on Linux 4.18.6 with
> CMake version 3.12.1.
>
> The compilation fails with:
>
> [ 66%] Linking CXX executable CardiacEPSolver
> /usr/bin/ld: CMakeFiles/CardiacEPSolver.dir/CellModels/CellModel.cpp.o:
> undefined reference to symbol 'pthread_condattr_setclock@@GLIBC_2.3.3'
> /usr/bin/ld: /usr/lib/libpthread.so.0: error adding symbols: DSO missing
> from command line
> collect2: error: ld returned 1 exit status
> make[2]: ***
> [solvers/CardiacEPSolver/CMakeFiles/CardiacEPSolver.dir/build.make:465:
> solvers/CardiacEPSolver/CardiacEPSolver] Error 1
> make[1]: *** [CMakeFiles/Makefile2:2907:
> solvers/CardiacEPSolver/CMakeFiles/CardiacEPSolver.dir/all] Error 2
> make: *** [Makefile:163: all] Error 2
>
> if I disable CardiacEPSolver in the configuration, I get a similar error:
>
> [ 70%] Linking CXX executable CompressibleFlowSolver
> /usr/bin/ld:
> CMakeFiles/CompressibleFlowSolver.dir/ArtificialDiffusion/ArtificialDiffusion.cpp.o:
> undefined reference to symbol 'pthread_condattr_setclock@@GLIBC_2.3.3'
> /usr/bin/ld: /usr/lib/libpthread.so.0: error adding symbols: DSO missing
> from command line
> collect2: error: ld returned 1 exit status
> make[2]: ***
> [solvers/CompressibleFlowSolver/CMakeFiles/CompressibleFlowSolver.dir/build.make:615:
> solvers/CompressibleFlowSolver/CompressibleFlowSolver] Error 1
> make[1]: *** [CMakeFiles/Makefile2:2925:
> solvers/CompressibleFlowSolver/CMakeFiles/CompressibleFlowSolver.dir/all]
> Error 2
> make: *** [Makefile:163: all] Error 2
>
> Can someone point me in the right direction?
>
> Thanks, Mikkel
--
Chris Cantwell
Imperial College London
South Kensington Campus
London SW7 2AZ
Email: c.cantwell@imperial.ac.uk
www.imperial.ac.uk/people/c.cantwell