Re: libpython - cannot open shared object file

From: Tom Wilcox <hungrytom(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: libpython - cannot open shared object file
Date: 2010-06-23 08:52:27
Message-ID: 4C21CB4B.2010400@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

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(dot)klaver(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dave Page 2010-06-23 09:01:31 Re: libpython - cannot open shared object file
Previous Message Dimitri Fontaine 2010-06-23 08:43:30 Re: High Availability with Postgres

Browse pgsql-novice by date

  From Date Subject
Next Message Dave Page 2010-06-23 09:01:31 Re: libpython - cannot open shared object file
Previous Message Alex Mtz. de Agirre Escobar 2010-06-23 07:42:26 Small question