Re: Psycopg2 built on local system, ok when distributed?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Amos Anderson <amos(dot)anderson(at)protabit(dot)com>, psycopg(at)postgresql(dot)org
Subject: Re: Psycopg2 built on local system, ok when distributed?
Date: 2014-09-27 18:42:54
Message-ID: 5427052E.9080601@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: psycopg

On 09/27/2014 11:24 AM, Amos Anderson wrote:
> Hi Psycopg --
>
> I'm researching putting together a binary distribution of my software, which includes psycopg2. When psycopg2 compiles, it links to postgresql. If I linked to PostgreSQL 9.3.3 when I built psycopg2 on my systems, which version(s) of PosgreSQL are compatible on other user's systems? Or should I just expect other users to build psycopg2 on their own system?

http://initd.org/psycopg/docs/install.html#install-from-source

Note

The libpq header files used to compile psycopg2 should match the version
of the library linked at runtime. If you get errors about missing or
mismatching libraries when importing psycopg2 check (e.g. using ldd) if
the module psycopg2/_psycopg.so is linked to the right libpq.so.

>
> Thanks!
> Amos.
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Amos Anderson 2014-09-28 21:20:57 Re: Psycopg2 built on local system, ok when distributed?
Previous Message Amos Anderson 2014-09-27 18:24:27 Psycopg2 built on local system, ok when distributed?