Thread: psycopg2 2.7.5 linking error

psycopg2 2.7.5 linking error

From
Sandeep Thakkar
Date:
Hi,

The pip install psycopg2 failed on Linux x64 with the following error:
--
 /usr/bin/ld: build/temp.linux-x86_64-3.3/psycopg/pqpath.o: relocation R_X86_64_PC32 against `srv_deferrable' can not be used when making a shared object; recompile with -fPIC
--

The postgresql version is 9.5.13.  v2.7.4 installs fine though.


--
Sandeep Thakkar