Re: Psycopg2 built on local system, ok when distributed? - Mailing list psycopg

From Adrian Klaver
Subject Re: Psycopg2 built on local system, ok when distributed?
Date
Msg-id 5427052E.9080601@aklaver.com
Whole thread Raw
In response to Psycopg2 built on local system, ok when distributed?  (Amos Anderson <amos.anderson@protabit.com>)
Responses Re: Psycopg2 built on local system, ok when distributed?
List 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)
ofPosgreSQL 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.klaver@aklaver.com


psycopg by date:

Previous
From: Amos Anderson
Date:
Subject: Psycopg2 built on local system, ok when distributed?
Next
From: Amos Anderson
Date:
Subject: Re: Psycopg2 built on local system, ok when distributed?