Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kBHz3-0001lU-JG for pljava-dev@arkaria.postgresql.org; Thu, 27 Aug 2020 13:30:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kBHz2-0008MP-E1 for pljava-dev@arkaria.postgresql.org; Thu, 27 Aug 2020 13:30:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kBHz1-0008MD-UX for pljava-dev@lists.postgresql.org; Thu, 27 Aug 2020 13:30:28 +0000 Received: from anastigmatix.net ([68.171.219.55]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kBHyy-0006Pr-SJ for pljava-dev@lists.postgresql.org; Thu, 27 Aug 2020 13:30:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2ScNprimIBelv7HnjiX4mZEApkF/QoIRxqmjXycJxLQ=; b=WpHS+m9iybxspPUOQBgDpMJe+y ZcDBB0kc7dlxc/S23h1Kx0P6qxKT1LrBbFXV6wMCO9MQTQ6IRReAIWQE6l7X+U0snLDsfW00sNHWq N+0pnaNL4zs/nvjYCIRTBbAISmi4a2oNWuiWxorC1ZTiZ6W0zMZj72eeXauaQZ0n9sTULObYuTZJO JHQ3r7zXkgM2uWsTFA0C959RyzD9pPNC92EW+IagE3zUTt9mQ8aist9/Il3dvTJLULkN0u/KCo0yx OvCc2kVn2prMZPKUGsYEKwJ2jPWwWg2AfHoxZjFcVoWF3E2P0+HGEbdZIJ9b+ZOXszKFQ/rAVCR52 asvS8G/w==; Received: from [184.19.31.139] (port=52904) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1kBHyv-003tf9-S8; Thu, 27 Aug 2020 09:30:22 -0400 Subject: Re: the ScriptingMojo To: Kartik Ohri References: <5F3D38F8.7050907@anastigmatix.net> <5F3D3A75.5010304@anastigmatix.net> <5F3D3D2E.4070109@anastigmatix.net> <5F3D43BD.4020900@anastigmatix.net> <5F3DA48D.7090408@anastigmatix.net> <5F41943D.9080707@anastigmatix.net> <5F427604.5010103@anastigmatix.net> <5F42A71F.8000002@anastigmatix.net> <5F459B6E.3020803@anastigmatix.net> <5F45EE7F.5020609@anastigmatix.net> <5F46B70E.6070601@anastigmatix.net> <5F46DC70.1080404@anastigmatix.net> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5F47B56D.4080703@anastigmatix.net> Date: Thu, 27 Aug 2020 09:30:21 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-95.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap@anastigmatix.net X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 08/27/20 07:52, Kartik Ohri wrote: > It seems there is some issue in linking but the logs do not hint this. > Another possible reason could be the packaging module not being able to > find the .dll. But again no sign of this from the logs. Do you have any > idea about what could be the issue here ? The naming of the link target has different conventions depending on the os. On Unix-like systems, it has a 'lib' prefix and extension .so On Mac the .so extension changes to .bundle (except that in PostgreSQL's PGXS they keep .so instead, which we now have the option of changing to, but we've used the Mac convention of .bundle for several years). On Windows, the extension changes to .dll and the lib prefix goes away. You can see these names in the different profiles that set module.pathname in -packaging/pom.xml. It has to explicitly add .bundle on Mac (because PostgreSQL would otherwise assume .so). On Windows, it doesn't have to add .dll (because that is the assumed extension on Windows), but it does drop the lib prefix. Your build has produced a file that ends with .dll but still has the lib prefix. Regards, -Chap