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

psql: sslmode value "require" invalid when SSL support is not compiled in #51

Open
hakunin opened this issue Nov 11, 2015 · 1 comment

Comments

@hakunin
Copy link

hakunin commented Nov 11, 2015

Hi, I get this error message when I try to pull postgresql from Heroku.

Stack overflow says thats a problem with my local psql, that I need to recompile it with SSL support.

How can I achieve this with pgvm?

@iurev
Copy link

iurev commented Sep 28, 2021

Yes, you may do it if you recompile your version with openssl support.
It worked for me on Manjaro Linux with two libs installed, but probably should work on most systems with openssl lib:

core/openssl-1.0 1.0.2.u-1
core/openssl 1.1.1.l-1
cd ~/.pgvm/src/postgresql-x.y.z
make clean # this is crucial if you have already installed this version before
./configure --with-openssl --without-readline --with-uuid=e2fs --prefix ~/.pgvm/environments/x.y.z/
cd contrib
make
make install

I've never done necroposting with such time range before...
I actually doubt anyone still uses this library

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