First run the one below to be able to install pg_config
brew install postgresql
Install openssl
brew link openssl
Warning: Refusing to link macOS provided/shadowed software: [email protected] If you need to have
[email protected]first in your PATH, run:echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.zshrcFor compilers to find
[email protected]you may need to set:export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include"For pkg-config to find
[email protected]you may need to set:export PKG_CONFIG_PATH="/opt/homebrew/opt/[email protected]/lib/pkgconfig"