Skip to content

Commit 27f8b7a

Browse files
committed
Add note on LD_PRELOAD under linux [skip ci]
1 parent f301adc commit 27f8b7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ the [GitHub workflow](./.github/workflows/main.yml).
137137

138138
PythonFMU does not automatically resolve 3rd party dependencies. If your code includes e.g. `numpy`, the target system also needs to have `numpy` installed.
139139

140+
Loading an FMU under linux in a non-Python host, requires setting `LD_PRELOAD=path/to/libpython3.version.so`. E.g.: `LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libpython3.11.so`
141+
140142
---
141143

142144
Would you rather build FMUs in Java? Check out [FMI4j](https://github.com/NTNU-IHB/FMI4j)!

0 commit comments

Comments
 (0)