7.2.1: Can't create prcedural language PLPERL

Поиск
Список
Период
Сортировка
От Ruslan A Dautkhanov
Тема 7.2.1: Can't create prcedural language PLPERL
Дата
Msg-id 3D9C1E08.1D109C36@scn.ru
обсуждение исходный текст
Ответы problem with TRUNCATE TABLE in plpgsql function  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
Список pgsql-bugs
Hi,

I have to use PlPerl procedural language to write my
functions on PostgreSQL. I have recompiled Perl interpreter,
so libperl now built as a shared library. After this I had
done
    perl Makefile.pl; make; make install
All is good, but when I tries to run
    createlang ... plperl
it fail. I found where error is (createlang -e shows queries) -
    CREATE FUNCTION "plperl_call_handler" () RETURNS OPAQUE AS
'$libdir/plperl.so' LANGUAGE C;

ERROR:  Load of file /usr/local/pgsql/lib/plperl.so failed: dlopen
'/usr/local/pgsql/lib/plperl.so' failed.
(/usr/local/pgsql/lib/plperl.so: Undefined symbol "Perl_vmess")

Where my mistake is or maybe PG7.2.1 just can't properly use plperl
procudural language???
and that is the reason why you break plperl code from base source pack
in the next release 7.3?
Btw, gborg.postgresql.org as I see just only CVS visualizer, but it's
not a userland site -
I even not see a download link anywhere or any instructions how to
install it.

Thanks a lot for any comments/suggestions, which can help me to make
plperl work.


Regards,
Ruslan

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Mark Stosberg
Дата:
Сообщение: Re: 7.3b2 initdb fails with semaphore error (solved)
Следующее
От: "Bill Schneider"
Дата:
Сообщение: bigint and indexes