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

Usage of internal libpq distribution is broken #110

Open
siddharthab opened this issue Sep 12, 2019 · 0 comments
Open

Usage of internal libpq distribution is broken #110

siddharthab opened this issue Sep 12, 2019 · 0 comments

Comments

@siddharthab
Copy link

siddharthab commented Sep 12, 2019

When libpq is not installed in the user's system, the user does not get an appropriate error message. The package configure script attempts to use a bundled distribution but fails because:

  1. When PG_INCDIR is not found, it is set to src/libpq instead of libpq, which makes the compilation fail because of missing headers.
  2. PG_LIBDIR is never set if not found externally, so the compilation fails at the linking step.

I think it's fine to not be able to use a bundled distribution, but I think the user should be messaged accordingly.

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

1 participant