psycopg2 2.7.5 linking error

From: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
To: psycopg(at)postgresql(dot)org
Subject: psycopg2 2.7.5 linking error
Date: 2018-07-11 12:44:02
Message-ID: CANFyU96P6qCN7mcJQs+3559UoyEnsW-SDQ2Nh6iMdEjoy2b-+A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

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

Browse psycopg by date

  From Date Subject
Next Message Thomas Güttler 2018-07-19 08:14:40 Number of SQL queries
Previous Message Daniele Varrazzo 2018-06-17 18:37:56 Psycopg 2.7.5 released