Discussion about building and installing Elmer
1 post • Page 1 of 1
This is a hint for all those having issues with ctest reporting troubles for resolving symbols in libelmersolver.so while ctest-ing a new compiled version. We came across the fact that if during test-time (at least on a Ubuntu/Linux Mint system) the libelmersolver.so of an existing installation exists in the LD_LIBRARY_PATH, this will be used by ctest instead of the one in builddir/fem/src/libelmersolver.so. In other words, then you are not testing your freshly compiled, but the one of an earlier installed version. Should the earlier installed version have diverging dependencies as the tested one, the tests will mysteriously fail.