Skip to content

Instantly share code, notes, and snippets.

@fahadsiddiqui
Created March 16, 2021 12:31
Show Gist options
  • Save fahadsiddiqui/4229a631a8a52174bec8e52483602932 to your computer and use it in GitHub Desktop.
Save fahadsiddiqui/4229a631a8a52174bec8e52483602932 to your computer and use it in GitHub Desktop.

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"' >> ~/.zshrc

For 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment