Re: libpython - cannot open shared object file

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: Tom Wilcox <hungrytom(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org
Subject: Re: libpython - cannot open shared object file
Date: 2010-06-23 02:14:42
Message-ID: 11996.1277259282@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

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 Adrian Klaver 2010-06-23 02:24:14 Re: how to create an admin user for restore database.
Previous Message S K 2010-06-23 02:00:41 java.lang.NegativeArraySizeException from ReceiveTupleV3(PGStream.java:349) ...

Browse pgsql-novice by date

  From Date Subject
Next Message Alex Mtz. de Agirre Escobar 2010-06-23 07:42:26 Small question
Previous Message Laslo Forro 2010-06-22 20:41:33 Re: Regexp match with accented character problem