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 1g4TAZ-00082h-5F for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Sep 2018 15:53:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g4TAX-0000vo-EJ for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Sep 2018 15:53:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g4TAX-0000vd-4g for pgsql-bugs@lists.postgresql.org; Mon, 24 Sep 2018 15:53:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g4TAT-0005Qs-RG for pgsql-bugs@lists.postgresql.org; Mon, 24 Sep 2018 15:53:03 +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 w8OFqx0R009437; Mon, 24 Sep 2018 11:52:59 -0400 From: Tom Lane To: prakash.ramakrishnan.ap@nielsen.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15397: perl error In-reply-to: <153780079860.7486.13585951935699611641@wrigleys.postgresql.org> References: <153780079860.7486.13585951935699611641@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Bug_reporting_form?= message dated "Mon, 24 Sep 2018 14:53:18 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9435.1537804379.1@sss.pgh.pa.us> Date: Mon, 24 Sep 2018 11:52:59 -0400 Message-ID: <9436.1537804379@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: > 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