-
Notifications
You must be signed in to change notification settings - Fork 36
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
Fail to compile rust library on linux #47
Comments
More information:
|
It works fine on local Mac OS, perhaps something related to nix env? |
@iquerejeta @abakst Any suggestion on how to solve this? |
rust code depends on a specific glibc version which was not present on the VM where I compiled it apparently. Bumping the VM's version to 21.10 fixed the issue, as well as explicitly installing a glibc 2.32 on earlier Ubuntu versions. Perhaps there's a way to ensure the right version is installed trough |
When I try to
cargo build
inside therust
directory, I get the following error:I have tried googling and found issues related to static linking suggesting musl should be used instead but even removing the
staticlib
target does not fix it.The text was updated successfully, but these errors were encountered: