Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW1Ty-0008K5-O9 for pgsql-bugs@arkaria.postgresql.org; Fri, 14 Jul 2017 14:22:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dW1Ty-0004NN-As for pgsql-bugs@arkaria.postgresql.org; Fri, 14 Jul 2017 14:22:14 +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 1dW1Tx-0004K6-I5 for pgsql-bugs@postgresql.org; Fri, 14 Jul 2017 14:22:13 +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 1dW1Tu-00010p-IJ for pgsql-bugs@postgresql.org; Fri, 14 Jul 2017 14:22:12 +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 v6EEM7Mv004842; Fri, 14 Jul 2017 10:22:08 -0400 From: Tom Lane To: chris@cdrbill.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14742: build fails on psql In-reply-to: <20170714125106.9231.13772@wrigleys.postgresql.org> References: <20170714125106.9231.13772@wrigleys.postgresql.org> Comments: In-reply-to chris@cdrbill.com message dated "Fri, 14 Jul 2017 12:51:06 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4840.1500042127.1@sss.pgh.pa.us> Date: Fri, 14 Jul 2017 10:22:07 -0400 Message-ID: <4841.1500042127@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 chris@cdrbill.com writes: > Undefined symbols for architecture x86_64: > "_appendShellStringNoError", referenced from: > _psql_get_variable in common.o > "_psql_scan_set_passthrough", referenced from: > _MainLoop in mainloop.o > _main in startup.o 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. 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