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

prom segfaults with psycopg2 2.7.3.1 #54

Closed
Jaymon opened this issue Oct 2, 2017 · 2 comments
Closed

prom segfaults with psycopg2 2.7.3.1 #54

Jaymon opened this issue Oct 2, 2017 · 2 comments

Comments

@Jaymon
Copy link
Owner

Jaymon commented Oct 2, 2017

Right now, solution is to drop down to an earlier version:

$ pip install psycopg2==2.6.2
@Jaymon
Copy link
Owner Author

Jaymon commented Oct 3, 2017

Warning Because the psycopg wheel package uses its own libssl binary, it is incompatible with other extension modules binding with libssl as well, for instance the Python ssl module: the result will likely be a segfault. If you need using both psycopg2 and other libraries using libssl please install psycopg from source. (via)

Relevant issue from psycopg2 repo, not sure why the issue is closed since this seems to be an ongoing problem.

Anyway, the way to get around this is to build psycopg2 from source, this will keep it from using its own bundled libssl:

$ pip install --no-binary=:all: psycopg2

@dvarrazzo
Copy link

FYI: you are right that closing the psycopg/psycopg2#543 is not the correct course of action: I will reopen it (I considered it closed as "impossible to fix" and with a documented workaround, but it better stay open).

@Jaymon Jaymon closed this as completed Mar 26, 2023
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