Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgxn install not using --pg_config #49

Open
bertday opened this issue Nov 25, 2024 · 1 comment
Open

pgxn install not using --pg_config #49

bertday opened this issue Nov 25, 2024 · 1 comment

Comments

@bertday
Copy link

bertday commented Nov 25, 2024

I'm trying to install a Postgres extension (h3) with pgxn. I have three versions of Postgres installed on my machine via Postgres.app: 15, 16, and 17. I would like to install h3 in the 15 database. The command I used was:

pgxn install --pg_config /Applications/Postgres.app/Contents/Versions/15/bin/pg_config h3

When the install command is running, I see that it's installing into the 17 database instead. Here's an line from the logs that seems telling:

-- Found PostgreSQL: /Applications/Postgres.app/Contents/Versions/17/lib/libpq.dylib (found version "17.1")  missing components: PostGIS

I've triple-checked that the path I specified for --pg_config exists. Am I doing something wrong? Could this be a bug?

Thank you!

@dvarrazzo
Copy link
Member

dvarrazzo commented Dec 3, 2024

What output do you obtain if you run /Applications/Postgres.app/Contents/Versions/15/bin/pg_config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants