-
Notifications
You must be signed in to change notification settings - Fork 0
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
go test fails on Mac M1 #6
Comments
I see this issue on Mac too. I think it's not visible in CI because a. we only run tests on linux in CI, and b. the release workflow (for smcli) runs on Mac but doesn't run tests. |
The issue is probably fixed by setting rpath settings similar to https://github.com/spacemeshos/post-rs/blob/9f7b5d70ba6ca753f6a0b92bbef8e5cd3fe93480/Cargo.toml#LL52C3-L55C13 It probably works on the CI because there the dylibs are in the folder |
I just tested again using the latest commit from the |
I updated the makefile to download v1.0.0 of |
Fixed! Use v1.0.1: https://github.com/spacemeshos/spacemesh-sdk/releases/tag/v1.0.1 |
To expand upon what I said above:
It only causes issues for tests, which use dynamic linking - in both this repository and in smcli. |
When running
make deps
and thenmake test
on my machine it fails to load the dylibs required:The text was updated successfully, but these errors were encountered: