Re: Create language PLPERL error - Mailing list pgsql-general

From Shakil Shaikh
Subject Re: Create language PLPERL error
Date
Msg-id BAY117-DS856F6FEEB1ACCD100A299ACEF0@phx.gbl
Whole thread Raw
In response to Re: Create language PLPERL error  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Create language PLPERL error
Next
From: Kevin McConnell
Date:
Subject: Re: easy task: concurrent select-updates