Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW3Xq-0006nA-CU for pgsql-bugs@arkaria.postgresql.org; Fri, 14 Jul 2017 16:34:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dW3Xp-0003vm-ON for pgsql-bugs@arkaria.postgresql.org; Fri, 14 Jul 2017 16:34:21 +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 1dW3X8-0002g4-Su for pgsql-bugs@postgresql.org; Fri, 14 Jul 2017 16:33:39 +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 1dW3X6-0003nh-Eq for pgsql-bugs@postgresql.org; Fri, 14 Jul 2017 16:33:37 +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 v6EGXYni014759; Fri, 14 Jul 2017 12:33:35 -0400 From: Tom Lane To: chris@cdrbill.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14742: build fails on psql In-reply-to: <4841.1500042127@sss.pgh.pa.us> References: <20170714125106.9231.13772@wrigleys.postgresql.org> <4841.1500042127@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Fri, 14 Jul 2017 10:22:07 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14757.1500050014.1@sss.pgh.pa.us> Date: Fri, 14 Jul 2017 12:33:34 -0400 Message-ID: <14758.1500050014@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org I wrote: > appendShellStringNoError() and psql_scan_set_passthrough() should be in > src/fe_utils/libpgfeutils.a, but they are both new as of v10. I suppose > you're somehow linking against a 9.6 or earlier version of that > library. Looking at the link line, -L/usr/local/lib is probably the > source of the problem. Do you have any idea how it got there? > I don't see an equivalent reference to the --prefix lib directory > when I do this, so it's not that. On further consideration, however that got there, it's definitely a bug in our makefiles that the -L flag for src/fe_utils isn't being placed in front of -L flags for system libraries. I've pushed a fix for that. Thanks for the report! regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs