Skip to content

kWave simulations fail to complete on macOS because of a HDF5 version mismatch #16

Description

@Tomaubier

Automated tests fail on macOS because of a mismatch between the versions of the HDF5 library currently installed by homebrew (v2.0.0) and the one required by kspaceFirstOrder3D (v1.14.6).
Until a proper fix is found, the appropriate HDF5 version can be installed manually as follows:

It turns out libhdf5.310.dylib apparently dates back to hdf5 version 1.14.
The homebrew formula for this specific version is not available by default but I managed to find a way to install it.

  1. brew tap-new <USER>/local-hdf5
  2. brew extract --version=1.14.6 hdf5 <USER>/local-hdf5
  3. brew install <USER>/homebrew-local-hdf5/hdf5@1.14.6
  4. brew developer off

At this point libhdf5.310.dylib lives in /opt/homebrew/opt/hdf5@1.14.6 and k-wave still cannot find it.
It is a bit messy but creating a symlink with the unversioned named does the trick for now.
ln -s /opt/homebrew/opt/hdf5@1.14.6 /opt/homebrew/opt/hdf5

...

Originally posted by @Tomaubier in #661

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions