Re: Create language PLPERL error

From: "Shakil Shaikh" <sshaikh(at)hotmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Create language PLPERL error
Date: 2009-09-03 19:02:04
Message-ID: BAY117-DS856F6FEEB1ACCD100A299ACEF0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kevin McConnell 2009-09-03 19:05:17 Re: easy task: concurrent select-updates
Previous Message Tom Lane 2009-09-03 18:38:15 Re: Create language PLPERL error