Обсуждение: error trying to load plperl...

Поиск
Список
Период
Сортировка

error trying to load plperl...

От
Laurette Cisneros
Дата:
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...

--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
A wiki we will go...


Re: error trying to load plperl...

От
Tom Lane
Дата:
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