Skip to content

Instantly share code, notes, and snippets.

@cseeger
Created October 28, 2023 18:35
Show Gist options
  • Save cseeger/91b14f1007784f0d7879f0776336b0d9 to your computer and use it in GitHub Desktop.
Save cseeger/91b14f1007784f0d7879f0776336b0d9 to your computer and use it in GitHub Desktop.
Postgres with OpenSSL 1.1
Homebrew install of OpenSSL 1.1 gave `error: library 'crypto' is required for OpenSSL`
```
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
```
Then install with:
```
POSTGRES_EXTRA_CONFIGURE_OPTIONS="--with-uuid=e2fs --with-openssl --with-libraries=/opt/homebrew/Cellar/openssl@1.1/1.1.1s/lib --with-includes=/opt/homebrew/Cellar/openssl@1.1/1.1.1s/include" asdf install postgres 14.8
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment