Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brT3e-0003lK-0R for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Oct 2016 16:59:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1brT3d-0002Qb-JC for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Oct 2016 16:59:09 +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 1brT2F-0000rc-L5 for pgsql-hackers@postgresql.org; Tue, 04 Oct 2016 16:57:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1brT2B-0002GQ-Qe for pgsql-hackers@postgresql.org; Tue, 04 Oct 2016 16:57:41 +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 u94GvYV4026317; Tue, 4 Oct 2016 12:57:34 -0400 From: Tom Lane To: Robert Haas cc: Andrew Dunstan , "pgsql-hackers@postgresql.org" Subject: Re: Misidentification of Python shared library In-reply-to: References: <5300.1475592228@sss.pgh.pa.us> <7921.1475595951@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Tue, 04 Oct 2016 12:06:20 -0400" Date: Tue, 04 Oct 2016 12:57:34 -0400 Message-ID: <26316.1475600254@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-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Robert Haas writes: > On Tue, Oct 4, 2016 at 11:45 AM, Tom Lane wrote: >> "$python_libdir /usr/lib64 /usr/lib" (too bad there's no easy >> platform-independent way to find out the linker's default search path). > "too bad" sounds like a grave understatement of the perils involved > using a fixed list of paths which may or may not bear any resemblance > at all to what the platform actually uses. Sure, but it will only matter given a more-or-less-broken Python installation. Anyway, if you have a better idea, let's hear it. 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