Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVJh2-00031V-6Z for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jul 2017 15:36:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dVJh1-0001Q2-GO for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jul 2017 15:36:47 +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.84_2) (envelope-from ) id 1dVJfT-0004Td-D7 for pgsql-hackers@postgresql.org; Wed, 12 Jul 2017 15:35:11 +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.84_2) (envelope-from ) id 1dVJfQ-00081k-W9 for pgsql-hackers@postgresql.org; Wed, 12 Jul 2017 15:35:10 +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 v6CFZ7fb004570; Wed, 12 Jul 2017 11:35:07 -0400 From: Tom Lane To: Sandeep Thakkar cc: "pgsql-hackers@postgresql.org" Subject: Re: pl/perl extension fails on Windows In-reply-to: References: Comments: In-reply-to Sandeep Thakkar message dated "Wed, 12 Jul 2017 17:49:09 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4568.1499873707.1@sss.pgh.pa.us> Date: Wed, 12 Jul 2017 11:35:07 -0400 Message-ID: <4569.1499873707@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Sandeep Thakkar writes: > I compiled PG 10 beta1/beta2 with "--with-perl" option on Windows and the > extension crashes the database. > *src/pl/plperl/Util.c: loadable library and perl binaries are mismatched > (got handshake key 0A900080, needed 0AC80080)* > This is seen with Perl 5.24 but not with 5.20, 5.16. What I found is that > the handshake function is added in Perl 5.21.x and probably that is why we > don't see this issue in earlier versions. Well, we have various buildfarm machines running perls newer than that, eg, crake, with 5.24.1. So I'd say there is something busted about your perl installation. Perhaps leftover bits of an older version somewhere? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers