After updating to the latest libsodium via homebrew on mac, compilation fails with the following error message:
<no location info>: error:
dlopen(/Users/ag/.stack/snapshots/aarch64-osx/05cea9c761dcdd9448fb537dabaa41d5606a0988e1f706929c9813d1569fbcd3/9.4.7/lib/aarch64-osx-ghc-9.4.7/libHSsaltine-0.2.1.0-AdwsJvszzLkGtax63fo2Vs-ghc9.4.7.dylib, 0x0005): Library not loaded: /opt/homebrew/opt/libsodium/lib/libsodium.23.dylib
Referenced from: <EEDC9FF7-99D0-3F45-9413-15812EA43167> /Users/ag/.stack/snapshots/aarch64-osx/05cea9c761dcdd9448fb537dabaa41d5606a0988e1f706929c9813d1569fbcd3/9.4.7/lib/aarch64-osx-ghc-9.4.7/libHSsaltine-0.2.1.0-AdwsJvszzLkGtax63fo2Vs-ghc9.4.7.dylib
Reason: tried: '/opt/homebrew/opt/libsodium/lib/libsodium.23.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libsodium/lib/libsodium.23.dylib' (no such file), '/opt/homebrew/opt/libsodium/lib/libsodium.23.dylib' (no such file), '/usr/local/lib/libsodium.23.dylib' (no such file), '/usr/lib/libsodium.23.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/libsodium/1.0.19/lib/libsodium.23.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libsodium/1.0.19/lib/libsodium.23.dylib' (no such file), '/opt/homebrew/Cellar/libsodium/1.0.19/lib/libsodium.23.dylib' (no such file), '/usr/local/lib/libsodium.23.dylib' (no such file), '/usr/lib/libsodium.23.dylib' (no such file, not in dyld cache)
The libsodium.23.dylib file has been bumped to 26 in libsodium-1.0.19, and it can't find it.
After updating to the latest libsodium via homebrew on mac, compilation fails with the following error message:
The libsodium.23.dylib file has been bumped to 26 in
libsodium-1.0.19
, and it can't find it.