Linking error
SergeiBorzov opened this issue · 1 comments
SergeiBorzov commented
After your last update, I have a problem linking fmi with my project.
Switched back to 2.4.0 for now, but can you have a look?
Error:
libfmilib_shared.so: undefined reference to getrandom@GLIBC_2.25 [--no-allow-shlib-undefined]
filip-stenstrom commented
Seems like your glibc doesn't have getrandom
?
From what I can see Expat has some "auto" logic for finding if getrandom
should be used or not. I guess that logic has failed in this case.
You can set it manually with EXPAT_WITH_GETRANDOM, but that would require that you patch FMI Library. The long term plan is to allow externally built Expat but until then patching will be necessary.