Skip to content

Conversation

rjooske
Copy link
Contributor

@rjooske rjooske commented Sep 1, 2025

The make-postgres.sh script fails to build PostgreSQL with OpenSSL enabled on macOS even when OpenSSL is present due to the script passing malformed arguments to ./configure.
The script tries to automatically specify Homebrew's include and lib directories but without spaces between the arguments, which results in the following warning from ./configure:

configure: WARNING: unrecognized options: --with-openssl--with-includes

This PR simply adds a space right before each argument.

You can check if PostgreSQL is built with SSL enabled by running postgres -c ssl=on.
If your build doesn't support SSL, you will get something like this:

FATAL: SSL is not supported by this build

@ryanmkurtz ryanmkurtz self-assigned this Sep 12, 2025
@ryanmkurtz ryanmkurtz added Status: Internal This is being tracked internally by the Ghidra team Feature: BSim labels Sep 12, 2025
@ryanmkurtz ryanmkurtz added this to the 12.0 milestone Sep 12, 2025
@ryanmkurtz ryanmkurtz merged commit 80caec9 into NationalSecurityAgency:master Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: BSim Status: Internal This is being tracked internally by the Ghidra team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants