Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brn7q-0002KD-NZ for pgsql-committers@arkaria.postgresql.org; Wed, 05 Oct 2016 14:24:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1brn7q-0004A7-1z for pgsql-committers@arkaria.postgresql.org; Wed, 05 Oct 2016 14:24:50 +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 1brn7p-0004A0-Li for pgsql-committers@postgresql.org; Wed, 05 Oct 2016 14:24:49 +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 1brn7l-0008VT-PT for pgsql-committers@postgresql.org; Wed, 05 Oct 2016 14:24:49 +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 u95EOhAA017722; Wed, 5 Oct 2016 10:24:43 -0400 From: Tom Lane To: Andrew Dunstan cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Huh, we do need to look in $python_configdir for the Python shli In-reply-to: <15380.1475674021@sss.pgh.pa.us> References: <32620eaf-6d68-ca3e-dc1b-5936ee5c3c8d@dunslane.net> <15380.1475674021@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Wed, 05 Oct 2016 09:27:01 -0400" Date: Wed, 05 Oct 2016 10:24:43 -0400 Message-ID: <17721.1475677483@sss.pgh.pa.us> X-Pg-Spam-Score: -4.5 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org I wrote: > Andrew Dunstan writes: >> Looks like there are still problems on Windows/mingw and OpenBSD - see >> frogmouth and curculio on the buildfarm. > Yeah. I just sent you an offlist request to look into what's happening > on frogmouth, and I'm talking to curculio's owner as well. The answer on curculio seems to be that OpenBSD doesn't bother with providing symlinks like libpython2.7.so -> libpython2.7.so.0.0. They've evidently hacked the linker so that it will find such a shlib even when told only "-lpython2.7". I can't say that I think that's a good design --- what if there's more than one version installed? --- but there you have it. (Thanks to Mikael Kjellstrom for assisting with this investigation.) This seems reasonably easy to fix by allowing the configure probe to accept files that have the expected name plus some trailing junk. I can't tell what to make of frogmouth's results from here. Awaiting your input. If you're not sure what to check, it would be helpful to see the results of python -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_vars())" and to know exactly where libpython.dll is and what it's named. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers