Re: error trying to load plperl... - Mailing list pgsql-admin

From Tom Lane
Subject Re: error trying to load plperl...
Date
Msg-id 12862.1031175609@sss.pgh.pa.us
Whole thread Raw
In response to error trying to load plperl...  (Laurette Cisneros <laurette@nextbus.com>)
List pgsql-admin
Laurette Cisneros <laurette@nextbus.com> writes:
> Any ideas what causes this:

> createlang 'plperl' template1
> ERROR:  Load of file /usr/local/pgsql-7.2.1/lib/plperl.so failed:
> libperl.so: cannot open shared object file: No such file or directory
> createlang: language installation failed

> perl is loaded on this system...

If you just have a standard install of perl then plperl will not work.
(Yes, this sucks.)  You need a shared-library version of libperl, which
is still not the default way to build Perl :-(.  See

http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/plperl-install.html

            regards, tom lane

pgsql-admin by date:

Previous
From: Laurette Cisneros
Date:
Subject: Re: pg_restore error
Next
From: Tom Lane
Date:
Subject: Re: pg_restore error