-
Notifications
You must be signed in to change notification settings - Fork 28
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
M1 Monterey: libblosc not defined #85
Comments
I am also having this issue. I tried adding libblosc to my path but perhaps I am still not doing something correctly. |
I second this. The reason seems to be that the Blosc_jll package is not updated to support Darwin arm64 architecture: one needs to add the respective wrapper and the artifact, e.g. the libblosc.dylib. |
Having the exact same issue. Did someone find a solution yet? |
I found a solution! It's really hacky and probably breaks stuff later on, but for now it works. The problem is, as ajalexei stated, that it can't find the blosc library, thus the
As I said, I am pretty sure this can break things later on and is probably not a good solution. But it seems to work for now. |
Seems like a good workaround for now. I also installed a forked HDF5.jl that does not load Blosc by default. This was suggested to me by @mkitti on Slack. I didn't realize Blosc is not always needed. So this may work for you as well, although it does break the MAT package for me due to version conflicts.
|
can you post which HDF5 fork you are using please? |
This updates c-blosc 1 to 1.21.1: https://github.com/Blosc/c-blosc/releases/tag/v1.21.1 Builds for experimental platforms to resolve macOS on M1. Fix JuliaPackaging#4051 Fix JuliaIO/Blosc.jl#85 Fix JuliaIO/HDF5.jl#870
I think he's talking about my fork at HHMI Janelia Scientific Computing, which is been submitted to HDF5.jl as JuliaIO/HDF5.jl#875 . The main practical effect is that it drops use of Blosc as a default filter that is loaded by default. I have slightly more advanced branch which goes further and actually drops the Blosc dependency from HDF5.jl completely: This creates an independent subdirectory package called H5Zblosc which can be optionally loaded. That has been submitted to HDF5.jl as JuliaIO/HDF5.jl#880. I may merge the later branch into the former at some point. I am also trying to address the Blosc 1 issue directly via JuliaPackaging/Yggdrasil#4052 |
Blosc_jll should now be available for aarch64-apple-darwin as of version 1.21.1 Can anyone confirm if this has been fixed? |
Even if too late -- it does compile and work now, thanks |
…aPackaging#4052) This updates c-blosc 1 to 1.21.1: https://github.com/Blosc/c-blosc/releases/tag/v1.21.1 Builds for experimental platforms to resolve macOS on M1. Fix JuliaPackaging#4051 Fix JuliaIO/Blosc.jl#85 Fix JuliaIO/HDF5.jl#870
On Julia 1.7, on an M1, Monterey, I cannot use Blosc anymore. I ran into this problem trying to install HDF5 which had a similar error message but in that case I could simply point it to the home-brew installation of libhdf5. For Blosc I found no instruction how to do this.
Here are my system information and errors:
After restarting Julia:
The text was updated successfully, but these errors were encountered: