“please check gdb is codesigned – see taskgated(8)” – How to get gdb installed with homebrew code signed?

This error occurs because OSX implements a pid access policy which requires a digital signature for binaries to access other processes pids. To enable gdb access to other processes, we must first code sign the binary. This signature depends on a particular certificate, which the user must create and register with the system. To create … Read more

“ERROR:root:code for hash md5 was not found” when using any hg mercurial commands

Running brew reinstall python@2 didn’t work for my existing Python 2.7 virtual environments. Inside them there were still ERROR:root:code for hash sha1 was not found errors. I encountered this problem after I ran brew upgrade openssl. And here’s the fix: $ ls /usr/local/Cellar/openssl …which shows 1.0.2t According to the existing version, run: $ brew switch … Read more

Switch of php versions not working on mac

Here is my installation script: brew install [email protected] brew link –force [email protected] brew services start [email protected] export PATH=”/usr/local/opt/[email protected]/bin:$PATH” export PATH=”/usr/local/opt/[email protected]/sbin:$PATH” Now my output would be as: $ php -v PHP 7.2.25 (cli) (built: Nov 22 2019 10:27:28) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with … Read more