Page 1 of 1

Hint: LD_LIBRARY_PATH and ctest

Posted: 19 Apr 2017, 09:56
by tzwinger
This is a hint for all those having issues with ctest reporting troubles for resolving symbols in 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 of an existing installation exists in the LD_LIBRARY_PATH, this will be used by ctest instead of the one in builddir/fem/src/ 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.