Re: BUG #15397: perl error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15397: perl error
Дата
Msg-id 9436.1537804379@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #15397: perl error  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> Hi Team we upgrade the perl version but still not able to create the perl
> extension please find the below details.

> [root@sydcosausd001 ~]#  perl -v

> This is perl 5, version 26, subversion 1 (v5.26.1) built for
> x86_64-linux-thread-multi
> (with 30 registered patches, see perl -V for more detail)

> postgres=# CREATE EXTENSION plperl;
> ERROR:  could not load library
> "/opt/app/PostgreSQL/10/lib/postgresql/plperl.so":
> /opt/app/PostgreSQL/10/lib/postgresql/plperl.so: undefined symbol:
> Perl_xs_handshake
> postgres=#

Well, you've still got some kind of library version mismatch problem.

One thing that might help you figure out what's wrong is to try

ldd /opt/app/PostgreSQL/10/lib/postgresql/plperl.so

which will show you just which copy of libperl.so plperl is trying
to bind to.  My guess is that it isn't the one you upgraded :-(.

If all else fails, you'll have to build your own copy of Postgres
to get one that matches the libraries you have installed.  Or use
some other binary distribution of Postgres; the one you are trying
to use is evidently not a good match to your platform.

            regards, tom lane


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: "could not open file "pg_wal/…": No such file or directory" potential crashing bug due to race condition betweenrestartpoint and recovery
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15398: invalid contrecord length 861 at 159E/A6FFFC40