From: Tom Lane <tgl@sss.pgh.pa.us>
To: prakash.ramakrishnan.ap@nielsen.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15397: perl error
Date: Mon, 24 Sep 2018 11:52:59 -0400
Message-ID: <9436.1537804379@sss.pgh.pa.us> (raw)
In-Reply-To: <153780079860.7486.13585951935699611641@wrigleys.postgresql.org>
References: <153780079860.7486.13585951935699611641@wrigleys.postgresql.org>
=?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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, prakash.ramakrishnan.ap@nielsen.com
Subject: Re: BUG #15397: perl error
In-Reply-To: <9436.1537804379@sss.pgh.pa.us>
References: <153780079860.7486.13585951935699611641@wrigleys.postgresql.org> <9436.1537804379@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox