prom icon indicating copy to clipboard operation
prom copied to clipboard

prom segfaults with psycopg2 2.7.3.1

Open Jaymon opened this issue 8 years ago • 2 comments

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

$ pip install psycopg2==2.6.2

Jaymon avatar Oct 02 '17 23:10 Jaymon

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

Jaymon avatar Oct 03 '17 19:10 Jaymon

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).

dvarrazzo avatar Oct 25 '17 11:10 dvarrazzo