Re: error trying to load plperl...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Laurette Cisneros <laurette(at)nextbus(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: error trying to load plperl...
Date: 2002-09-04 21:40:09
Message-ID: 12862.1031175609@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Laurette Cisneros <laurette(at)nextbus(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2002-09-04 21:41:36 Re: pg_restore error
Previous Message Laurette Cisneros 2002-09-04 20:15:27 Re: pg_restore error