Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtKZl-0006QW-Kv for pgsql-bugs@arkaria.postgresql.org; Mon, 02 Nov 2015 19:15:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZtKZl-0002lW-67 for pgsql-bugs@arkaria.postgresql.org; Mon, 02 Nov 2015 19:15:29 +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) (envelope-from ) id 1ZtKZ8-0001zv-3N for pgsql-bugs@postgresql.org; Mon, 02 Nov 2015 19:14:50 +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) (envelope-from ) id 1ZtKZ5-0007tw-Hg for pgsql-bugs@postgresql.org; Mon, 02 Nov 2015 19:14:48 +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 tA2JEbmF029117; Mon, 2 Nov 2015 14:14:37 -0500 From: Tom Lane To: Peter Eisentraut cc: news@emmanuelsambo.com, pgsql-bugs@postgresql.org Subject: Re: BUG #13733: ~/.psql_history* corrupted In-reply-to: <5637B366.3010308@gmx.net> References: <20151026152214.3021.13548@wrigleys.postgresql.org> <28958.1445875729@sss.pgh.pa.us> <5637B366.3010308@gmx.net> Comments: In-reply-to Peter Eisentraut message dated "Mon, 02 Nov 2015 14:03:02 -0500" Date: Mon, 02 Nov 2015 14:14:37 -0500 Message-ID: <29116.1446491677@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Peter Eisentraut writes: > I have noticed that building PostgreSQL with libxml support on El > Capitan by default ends up building against the system libedit, because > it has a symlink at /usr/lib/libreadline.dylib, and xml2-config points > to that directory, so it ends up early in the search path. > Since I don't have the pre-El Capitan installation anymore, and can't > verify whether this changed, but the problem is pretty clear. Hm, I do not see anything like that on Yosemite: $ which xml2-config /usr/bin/xml2-config $ xml2-config Usage: xml2-config [OPTION] Known values for OPTION are: --prefix print the install prefix --libs print library linking information --cflags print pre-processor and compiler flags --modules module support enabled --help display this help and exit --version output version information $ xml2-config --libs -lxml2 $ xml2-config --cflags -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2 $ xml2-config --prefix /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr The /usr/lib/libreadline.dylib symlink has been there pretty much forever, so that's not a new hazard. You didn't say, but I assume what you're seeing is that "xml2-config --cflags" now emits some -L switches along with -I? Maybe we could fix that by inserting xml2-config's switches after the user's, instead of before. 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