BUG #15397: perl error
The following bug has been logged on the website:
Bug reference: 15397
Logged by: ramakrishnan r
Email address: prakash.ramakrishnan.ap@nielsen.com
PostgreSQL version: 10.4
Operating system: CentOS Linux release 7.5.1804 (Core)
Description:
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=#
=?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
From nobody Wed Mar 25 10:26:39 2026
Received: from malur.postgresql.org ([2a02:16a8:dc51::56])
by arkaria.postgresql.org with esmtps
(TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256)
(Exim 4.89)
(envelope-from <pgsql-bugs-owner+archive@lists.postgresql.org>)
id 1g4j1o-0007I0-Qi
for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Sep 2018 08:49:08 +0000
Received: from localhost ([127.0.0.1] helo=malur.postgresql.org)
by malur.postgresql.org with esmtp (Exim 4.89)
(envelope-from <pgsql-bugs-owner+archive@lists.postgresql.org>)
id 1g4j1n-0001eS-7P
for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Sep 2018 08:49:07 +0000
Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29])
by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256)
(Exim 4.89)
(envelope-from <noreply@postgresql.org>)
id 1g4j1n-0001eL-1S
for pgsql-bugs@lists.postgresql.org; Tue, 25 Sep 2018 08:49:07 +0000
Received: from wrigleys.postgresql.org ([2620:122:b000:7::246])
by magus.postgresql.org with esmtp (Exim 4.89)
(envelope-from <noreply@postgresql.org>)
id 1g4j1k-0005c0-Vl
for pgsql-bugs@lists.postgresql.org; Tue, 25 Sep 2018 08:49:06 +0000
Content-Type: multipart/mixed; boundary="===============5987612192170932963=="
MIME-Version: 1.0
Subject: BUG #15398: invalid contrecord length 861 at 159E/A6FFFC40
To: pgsql-bugs@lists.postgresql.org
From: =?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org>
Cc: timur.luchkin@gmail.com
Reply-To: timur.luchkin@gmail.com, pgsql-bugs@lists.postgresql.org
Date: Tue, 25 Sep 2018 08:48:14 +0000
Message-ID: <15398-b4896eebf0bed218@postgresql.org>
List-Id: <pgsql-bugs.lists.postgresql.org>
List-Help: <https://lists.postgresql.org/manage/>
List-Subscribe: <https://lists.postgresql.org/manage/>
List-Post: <mailto:pgsql-bugs@lists.postgresql.org>
List-Owner: <mailto:pgsql-bugs-owner@lists.postgresql.org>
List-Archive: <https://www.postgresql.org/list/pgsql-bugs>
Precedence: bulk
--===============5987612192170932963==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
VGhlIGZvbGxvd2luZyBidWcgaGFzIGJlZW4gbG9nZ2VkIG9uIHRoZSB3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