[Dune] Installation problems

Lars Diening lars at diening.de
Tue Aug 23 13:17:35 CEST 2016


Dear all,

my laptop broke so I needed to buy a new one and reinstall dune.

Unfortunately, I have again problems.

So far I compiled successfully

dune-alugrid
dune-common
dune-geometry
dune-grid
dune-istl
dune-localfunctions
dune-pdelab
dune-typetree

I still have problems with my own project but also with dune-functions 
(same error).

At compiling of dune-functions I get the message

make[2]: *** No rule to make target '/usr/lib/i386-linux-gnu/libdl.so', 
needed by 'examples/stokes-taylorhood'.  Stop.
CMakeFiles/Makefile2:2114: recipe for target 
'examples/CMakeFiles/stokes-taylorhood.dir/all' failed
make[1]: *** [examples/CMakeFiles/stokes-taylorhood.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2


Using "locate libdl.so" I get
/lib/i386-linux-gnu/libdl.so.2
/lib/x86_64-linux-gnu/libdl.so.2
/usr/lib/x86_64-linux-gnu/libdl.so

So the file libdl.so is searched at the wrong position. During the 
configure process of dune-functions I got the warning:

CMake Warning at 
/home/diening/dune/dune-common/cmake/modules/DuneTestMacros.cmake:252 
(add_executable):
   Cannot generate a safe runtime search path for target
   differentiablefunctiontest because files in some directories may conflict
   with libraries in implicit directories:

     runtime library [libgmp.so.10] in /usr/lib/x86_64-linux-gnu may be 
hidden by files in:
       /usr/lib/i386-linux-gnu

   Some of these libraries may not be found correctly.
Call Stack (most recent call first):
   dune/functions/common/test/CMakeLists.txt:3 (dune_add_test)


This is probably related.

However, I do not know how to proceed. Probably setting some compiler 
flag, but I am no expert at this.


Best wishes,

Lars






More information about the Dune mailing list