From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Huh, we do need to look in $python_configdir for the Python shli
Date: Wed, 05 Oct 2016 10:24:43 -0400
Message-ID: <17721.1475677483@sss.pgh.pa.us> (raw)
In-Reply-To: <15380.1475674021@sss.pgh.pa.us>
References: <E1brWUF-0005Xk-6j@gemulon.postgresql.org>
<32620eaf-6d68-ca3e-dc1b-5936ee5c3c8d@dunslane.net>
<15380.1475674021@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
I wrote:
> Andrew Dunstan <andrew@dunslane.net> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andrew@dunslane.net
Subject: Re: pgsql: Huh, we do need to look in $python_configdir for the Python shli
In-Reply-To: <17721.1475677483@sss.pgh.pa.us>
References: <E1brWUF-0005Xk-6j@gemulon.postgresql.org> <32620eaf-6d68-ca3e-dc1b-5936ee5c3c8d@dunslane.net> <15380.1475674021@sss.pgh.pa.us> <17721.1475677483@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox