Re: libpython - cannot open shared object file - Mailing list pgsql-general

From Tom Wilcox
Subject Re: libpython - cannot open shared object file
Date
Msg-id 4C21CB4B.2010400@gmail.com
Whole thread Raw
In response to Re: libpython - cannot open shared object file  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: libpython - cannot open shared object file
List pgsql-general
Hi,

I have not used python2.3 on this machine at all (to my knowledge). It
is a fresh install of the latest Ubuntu 64 which comes with Python 2.6
and 3.1.

The build I want to run is the 64-bit PostgreSQL download for Linux
x86-64 from Entreprise DB
(http://www.enterprisedb.com/products/pgdownload.do) as I don't know how
else to ensure that the build I am installing is a 64-bit version of
PostgreSQL (I want to use >4GB of RAM in one session).

Is the best way to ensure compatibility for me to build from source?

Cheers,
Tom


On 23/06/2010 03:14, Tom Lane wrote:
> Adrian Klaver<adrian.klaver@gmail.com>  writes:
>
>> On 06/22/2010 09:52 AM, Tom Wilcox wrote:
>>
>>> ERROR: could not load library
>>> "/opt/PostgreSQL/8.4/lib/postgresql/plpython.so": libpython2.3.so.1.0:
>>> cannot open shared object file: No such file or directory
>>>
>
>>> I have python2.6 installed.
>>>
>
>> It seems pl/python is compiled against Python 2.3. Have you been running
>> Python 2.3?
>>
> Yeah.  You need to either install python 2.3, or rebuild postgresql
> against python 2.6.  Shortcuts like making symlinks are not likely to
> work.
>
>             regards, tom lane
>


pgsql-general by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: High Availability with Postgres
Next
From: Dave Page
Date:
Subject: Re: libpython - cannot open shared object file