Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVMS1-0007d2-7T for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jul 2017 18:33:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dVMS0-0008RK-CV for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jul 2017 18:33:28 +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.84_2) (envelope-from ) id 1dVMQT-0005kV-J4 for pgsql-hackers@postgresql.org; Wed, 12 Jul 2017 18:31:53 +0000 Received: from mail-qk0-x230.google.com ([2607:f8b0:400d:c09::230]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dVMQQ-0004CV-IX for pgsql-hackers@postgresql.org; Wed, 12 Jul 2017 18:31:52 +0000 Received: by mail-qk0-x230.google.com with SMTP id d78so31925884qkb.1 for ; Wed, 12 Jul 2017 11:31:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=WQQVaDYlARhy+XwD3gEcLINbd17M6HcK53e795IBeSc=; b=EZXdEnI0FJHxk7T6601B2YCKub0H8lQuxOH5KxzVKe8WthRXj8I/ZW5C1+2oOiN97s UrM/nDjYFA2DwxjUzw78wptnWSeDZ74MTS5Dzh0SMhrJjf3vey8vGizaQ93ME4zyCL3E nsWMEjmXN1qfo8CxhKRi+BdlP+VLdO3/xypIu9dK6NyaNT0EoeseZZaOtJBXpDWUxjsT AghiX7FunuoyKibFryIkpWbiaE5+qlG3prBsVv1BbIno+Xby9O8bBqJt50gFeK0PLCCY oXN8jzSMfu4KJHLjvC3xvnTljze7XOvgZrXp6JTUfT5Bv2Kqo7e00LLPTr8H73/wrKTN /q5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=WQQVaDYlARhy+XwD3gEcLINbd17M6HcK53e795IBeSc=; b=Wf4mzuDCNpKfUDkLnlAyciWba341W2/CsLKUQRaQwarnUvg4H7636OTKeCpkOQajIR qfYMsd52V5H0Zw+yj7LiNRj0ApgC1sFiEYsMg15FNGiAm5bCS2SmwbQyYJNwiXVjwRFO KHD8EadusKRHVGNkeJp04lBUYg40HXsEl5FquUpa0GVslqxe7zRZtLB3jd/ZkMugSNmE MvhP2PdPZBjUd9mQjqnOrUK1Rp4lt0j4lD45Nc+MKQ7giZMKBYiB2uwxBhM3bevN0sgF p4pNFLtRFEY1xuL9up96Ys3Y5xE23dA4BpYQ/KpxEp9mYWEjZq6VB5cDdAoZuOFs6Sdt Uwnw== X-Gm-Message-State: AIVw111yxWAVqMDh/dtBmY2i292dp10PpG+i1lNOe6IWWMbj2ZfThWwO Y/zhSq8X2bO2ykitDqi5s1eYGuVsrn488/5sBJPunj9F/4aJyrYxh/7KPwWtrTV6gF8VsG7THsl 3iz6vZjwSuWeQSH1+n57pD0cI+Gge8M9SXuAItXd4hlqoUqdR5p6AFx9kGFNXVLMT+lksSrXiJP jP7kKD X-Received: by 10.55.138.67 with SMTP id m64mr8409654qkd.192.1499884308722; Wed, 12 Jul 2017 11:31:48 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id w9sm2571578qta.29.2017.07.12.11.31.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 11:31:48 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pl/perl extension fails on Windows To: Dave Page , Tom Lane Cc: Sandeep Thakkar , "pgsql-hackers@postgresql.org" References: <4569.1499873707@sss.pgh.pa.us> Message-ID: <6063dd4c-cd1e-d9d8-fa0d-3bddb1403c66@2ndQuadrant.com> Date: Wed, 12 Jul 2017 14:31:47 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW 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 On 07/12/2017 11:49 AM, Dave Page wrote: > > > On Wed, Jul 12, 2017 at 4:35 PM, Tom Lane > wrote: > > 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? > > > Well crake is a Fedora box - and we have no problems on Linux, only on > Windows. > > Yeah, I have this on one of my Windows boxes, and haven't had time to get to the bottom of it yet ;-( Latest versions of ActivePerl don't ship with library descriptor files, either, which is unpleasant. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers