Run
This page describes errors you get at runtime of OGS, e.g. when executing the ogs-executable or some utilities.
Error message: error while loading shared libraries / XX.dll could not be found or libXX.so could not be found.
Linux / macOS
Typical error message:
error while loading shared libraries: libXX.so: cannot open shared object file: No such file or directoryA shared library which was linked to OGS could not be found during runtime. The runtime search paths are determined by the system configuration but you add paths with the environment variable LD_LIBRARY_PATH (macOS: DYLD_LIBRARY_PATH). If you know where the missing library is located you can adapt the environment variable:
export LD_LIBRARY_PATH=/path/to/missing/lib:$LD_LIBRARY_PATH
./ogsMore information can be found here:
- https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
- https://amir.rachum.com/blog/2016/09/17/shared-libraries/#runtime-search-path
One can see with the ldd (macOS: otool -L) tool which dynamic libraries will be loaded at runtime.
Windows
Typical error message:
XX.dll could not be found.Similar to Linux but on Windows you need to adapt the PATH environment variable.
One can use the Dependencies -tool to see which DLLs will be loaded at runtime.
This article was written by Lars Bilke. If you are missing something or you find an error please reach out
to us on our forum.
Generated with Hugo 0.164.0
in CI job 825193
|
Last revision: April 20, 2026
Commit: refactor(MeshLib): remove PropertyVector::push_back 870422dde
| Edit this page on