Re: libpython - cannot open shared object file

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpython - cannot open shared object file
Дата
Msg-id 11996.1277259282@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: libpython - cannot open shared object file  (Adrian Klaver <adrian.klaver@gmail.com>)
Ответы Re: libpython - cannot open shared object file  (Tom Wilcox <hungrytom@gmail.com>)
Список pgsql-general
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 по дате отправления:

Предыдущее
От: Sam Wun
Дата:
Сообщение: how to create an admin user for restore database.
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: how to create an admin user for restore database.