This project is archived and is in readonly mode.
Can only specify static-libpq in setup.cfg
-
Daniele Varrazzo
- Tag set to patch, setup
- State changed from new to open
Thanks, I think there is no problem in merging the patch.
-
Daniele Varrazzo
- State changed from open to resolved
I'm merging the patch. However for me (on ubuntu) the compiled library doesn't work:
Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/piro/dev/psycopg2/build/lib.2.6/psycopg2/__init__.py", line 71, in <module> from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID ImportError: /home/piro/dev/psycopg2/build/lib.2.6/psycopg2/_psycopg.so: undefined symbol: GSS_C_NT_HOSTBASED_SERVICE make: *** [check] Error 1I suspect what is missing is linking against the crypto libraries. The problem is not in the patch anyway: you get the same setting static_libpq in setup.cfg. So I'll leave people who know what to do (which is not me) solving the problem specifying
--librariestoo.
