Re: Create language PLPERL error

Поиск
Список
Период
Сортировка
От Shakil Shaikh
Тема Re: Create language PLPERL error
Дата
Msg-id BAY117-DS856F6FEEB1ACCD100A299ACEF0@phx.gbl
обсуждение исходный текст
Ответ на Re: Create language PLPERL error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
From: "Tom Lane" <tgl@sss.pgh.pa.us>
>
> You've apparently got a version of libperl.so that is not compatible
> with the one that your Postgres was built against.  There are lots of
> compile-time options for Perl that affect this, so it's not exactly
> a surprising situation.  The easiest fix is to be sure you get your
> postgres and perl packages from the same place.  Alternatively, if
> you really want to use a specific version of perl, recompile Postgres
> from source against that perl.

Thanks, I see. Some further questions then:

Since 8.4 isn't on Synaptic, would that mean that I'm limited to running
8.3.7?

Is there any way of finding which version of libperl.so Postgres is
expecting and so obtain that instead?

>> I previously got a libperl.so not found error which I thought I
>> alleviated
>> by installing dev-perl via Synaptic.
>
> Adding yet other versions of perl into the mix is definitely not the
> way to get out of this kind of trouble ;-)

But no version of libperl.so was present so I had to get *something* (even
though it was the wrong one!). Unless you mean I can do CREATE LANGUAGE
without libperl-dev (sorry, I got the name wrong in my OP!)?

Shak


В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Create language PLPERL error
Следующее
От: Kevin McConnell
Дата:
Сообщение: Re: easy task: concurrent select-updates