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 ) id 1g2zcT-0002QR-3l for pgsql-bugs@arkaria.postgresql.org; Thu, 20 Sep 2018 14:07:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g2zcQ-0000H7-RQ for pgsql-bugs@arkaria.postgresql.org; Thu, 20 Sep 2018 14:07:46 +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 ) id 1g2zcQ-0000Gx-Kr for pgsql-bugs@lists.postgresql.org; Thu, 20 Sep 2018 14:07:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g2zcN-0004bj-SB for pgsql-bugs@lists.postgresql.org; Thu, 20 Sep 2018 14:07:46 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w8KE7c41003294; Thu, 20 Sep 2018 10:07:39 -0400 From: Tom Lane To: prakash.ramakrishnan.ap@nielsen.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15393: not able to CREATE EXTENSION plperl; In-reply-to: <153744336902.14986.11179694670889011636@wrigleys.postgresql.org> References: <153744336902.14986.11179694670889011636@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Bug_reporting_form?= message dated "Thu, 20 Sep 2018 11:36:09 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3292.1537452458.1@sss.pgh.pa.us> Date: Thu, 20 Sep 2018 10:07:38 -0400 Message-ID: <3293.1537452458@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =?utf-8?q?PG_Bug_reporting_form?= writes: > A4=# 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 I think that your copy of plperl was built against a different version of Perl than what's present on the box now. Some googling suggests that Perl_xs_handshake was added to Perl around version 5.22, so probably your plperl was built using headers from a later version but the libperl.so you have is older than that. regards, tom lane