Re: plperl again but different problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plperl again but different problem
Дата
Msg-id 23418.1126625057@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: plperl again but different problem  (Marcin Giedz <marcin.giedz@eulerhermes.pl>)
Ответы Re: plperl again but different problem  (Marcin Giedz <marcin.giedz@eulerhermes.pl>)
Список pgsql-admin
Marcin Giedz <marcin.giedz@eulerhermes.pl> writes:
>> createlang: language installation failed: ERROR:  could not load library
>> "/usr/local/postgresql-8.0.3/lib/plperl.so":
>> /usr/local/postgresql-8.0.3/lib/plperl.so: undefined symbol: Perl_croak

I think you've got some kind of mismatch between the compilation options
for Perl proper and those for plperl.  IIRC, Perl can spell its exported
function names in several different ways (eg, with or without the Perl_
prefix).  It looks like plperl is expecting a different convention than
what the libperl.so file was actually built with.

Use ldd on plperl.so to double check which libperl it's trying to link
to.  Double check that the Perl header files you compiled plperl against
came from the same Perl build that produced libperl.so.

            regards, tom lane

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

Предыдущее
От: Chris Hoover
Дата:
Сообщение: Question on vacuuming
Следующее
От: Marcin Giedz
Дата:
Сообщение: Re: plperl again but different problem