So I am trying to install https://github.com/LouisBrunner/valgrind-macos.git valgrind version for MacOS, I've tried to brew tap the repo and then brew install but it failes when trying to run with next error
dyld[35343]: Library not loaded: @rpath/libmydyld.so
Referenced from: <DAA2B17B-5D19-3AC9-A0EF-3568AD238138> /opt/homebrew/Cellar/valgrind/HEAD-176d087/libexec/valgrind/memcheck-arm64-darwin
Reason: tried: '/opt/homebrew/Cellar/valgrind/HEAD-176d087/libexec/valgrind/libmydyld.so' (missing LC_LOAD_DYLIB (must link with at least libSystem.dylib)), '/opt/homebrew/Cellar/valgrind/HEAD-176d087/libexec/coregrind/libmydyld.so' (no such file), '/opt/homebrew/Cellar/valgrind/HEAD-176d087/libexec/valgrind/libmydyld.so' (missing LC_LOAD_DYLIB (must link with at least libSystem.dylib)), '/opt/homebrew/Cellar/valgrind/HEAD-176d087/libexec/coregrind/libmydyld.so' (no such file), '/usr/local/lib/libmydyld.so' (no such file), '/usr/lib/libmydyld.so' (no such file, not in dyld cache)
Abort trap: 6 valgrind
I have also tried to clone the repo and manullay install but it s just seems to fail something. Does anybody knows a fix? In official docs say it support
this is my system version: OS: macOS Tahoe 26.0.1 arm64
-
Can you open an Issue on GitHub?ryanwebjackson– ryanwebjackson2025年12月18日 17:49:39 +00:00Commented Dec 18, 2025 at 17:49
-
This probably belongs on Ask Different.BryanH– BryanH2025年12月19日 19:42:50 +00:00Commented Dec 19, 2025 at 19:42
-
@BryanH why Ask Different? Valgrind is a software tool for programmers and it is not specific to macOS.Paul Floyd– Paul Floyd2025年12月20日 20:44:09 +00:00Commented Dec 20, 2025 at 20:44
-
Please edit your question with details of how it fails when you try to build it yourself. "just seems to fail something" is not information that we can act upon.Paul Floyd– Paul Floyd2025年12月20日 20:47:09 +00:00Commented Dec 20, 2025 at 20:47