-4

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

4
  • Can you open an Issue on GitHub? Commented Dec 18, 2025 at 17:49
  • This probably belongs on Ask Different. Commented Dec 19, 2025 at 19:42
  • @BryanH why Ask Different? Valgrind is a software tool for programmers and it is not specific to macOS. Commented 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. Commented Dec 20, 2025 at 20:47

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.