-
Notifications
You must be signed in to change notification settings - Fork 29
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
Failed installation in M1 Mac running OSX 13.4.1 #140
Comments
The issue is a custom build command that builds a v.0.8.1 hdf5-sys crate which is not compatible with hdf5 v1.14.x. In order to use hdf5 v.1.14.x, hdf5-sys has to be build from the master. |
@akhst7 A solution is to build Steps:
# Cargo.toml
[patch.crates-io]
hdf5 = { git = "https://github.com/aldanor/hdf5-rust.git" }
hdf5-sys = { git = "https://github.com/aldanor/hdf5-rust.git", features = ["static", "zlib", "threadsafe"] }
You can see a discussion about this over on the |
I believe this problem may be caused by a locally installed HDF5 library. Either uninstalling the HDF5 library installed by homebrew or unsetting the "HDF5_DIR" environmental variable may solve this problem. The patch is unnecessary as I've successfully installed it on my M1 macbook without patch. Just try the following:
|
Good tip, thank you for that. |
So I somehow got around a hdf5 issue but now am running into another issue;
This has nothing to do with snapATAC2 installation. It is just my rust version is But I really appreciate suggestions to get around the hdf5 issue. |
@akhst7 The following commands should allow you to upgrade rust to the latest version.
|
@kaizhang , I forgot to do
Thanks. |
HI,
I am having an issue updating Snapatac2 to 2.3.1 in my M1 Mac. An excerpt of the output is as follows;
A version of a brew installed hdf5 seems to be invalid but does the installation require 1.14.1-2 ?
The brew installed version is just 1.14.1
The text was updated successfully, but these errors were encountered: