library 'libOgsMFrontBehaviour' could not be loaded
Description
Even though the lib 'libOgsMFrontBehaviour.so' exists in the lib-folder in the build directory, it is not found. Hence, simulations using MFront don' work immediately.
Steps to Reproduce the Problem
- Compile the latest OGS-Version with the flag OGS_USE_MFRONT = ON.
- Run any prj-file (from the benchmarks) using a material model implemented with MFront.
Expected behavior: The simulation should start.
Actual behavior: The simulation doesn't start.
error: LibrariesManager::loadLibrary: library 'libOgsMFrontBehaviour' could not be loaded
As a remedy, the path can be defined explicitly in the user's .bashrc-file:
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/.../build/lib
Specifications
- Version: 6.3.2-1104-g99796d9da.dirty
- Platform: Ubuntu 20.04.1 LTS