Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking error #23

Open
SergeiBorzov opened this issue Sep 16, 2022 · 1 comment
Open

Linking error #23

SergeiBorzov opened this issue Sep 16, 2022 · 1 comment

Comments

@SergeiBorzov
Copy link

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants