You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've been encountering a persistent issue when running the `hydra-node`
demo on macOS with Apple Silicon (aarch64-darwin). The seed-devnet
process was consistently failing with a `Killed: 9` error.
The root cause of this issue was related to how the hydra-node
executable was being linked on macOS. The dynamic linker (dyld) was
unable to find the required shared libraries at runtime, which caused
the operating system to terminate the process.
Initially, I suspected aa code signing issue (which apparently is a
common cause for these types of errors on aarch64-darwin, as googling
suggested). But in the end, the problem was with the library search
paths embedded in the executable.
### Solution
The fix involved modifying the Nix build process to set the runtime
search paths for its library dependencies correctly. This is done by
using the `install_name_tool` command in the `postFixup` phase of the
Nix derivation.
Now it all seems to work (tested on my Mac machine).
0 commit comments