How to install Valgrind on macOS Catalina (10.15) with Homebrew?

See https://github.com/LouisBrunner/valgrind-macos/.

Either try

brew tap LouisBrunner/valgrind
brew install --HEAD LouisBrunner/valgrind/valgrind

Or compile it from the source, if the above method doesn’t work. (But they should have fixed the above method just recently.)

git clone https://github.com/LouisBrunner/valgrind-macos.git
cd valgrind-macos
./autogen.sh
./configure --prefix=/where/you/want/it/installed --enable-only64bit
make 
sudo make install

Enjoy!

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)