Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YZpGR-0003Wm-AK for pgsql-admin@arkaria.postgresql.org; Sun, 22 Mar 2015 23:26:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YZpGQ-000193-O3 for pgsql-admin@arkaria.postgresql.org; Sun, 22 Mar 2015 23:26:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YZpGP-00018w-Lh for pgsql-admin@postgresql.org; Sun, 22 Mar 2015 23:26:37 +0000 Received: from mailout.easymail.ca ([64.68.201.169]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YZpGL-0004Pt-47 for pgsql-admin@postgresql.org; Sun, 22 Mar 2015 23:26:36 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 17ACFE5A8; Sun, 22 Mar 2015 19:26:30 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mailout.easymail.ca X-Spam-Flag: NO X-Spam-Score: -3.94 X-Spam-Level: X-Spam-Status: No, score=-3.94 required=5 tests=[ALL_TRUSTED=-1.8, AWL=-0.233, BAYES_00=-2.599, DNS_FROM_AHBL_RHSBL=0.692] Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (easymail-mailout.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PPBeURtNU0Gx; Sun, 22 Mar 2015 19:26:29 -0400 (EDT) Received: from [192.168.2.16] (unknown [8.39.228.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 9E31FE3C5; Sun, 22 Mar 2015 19:26:29 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: unix socket location confusion From: Scott Ribe In-Reply-To: <3533.1427064190@sss.pgh.pa.us> Date: Sun, 22 Mar 2015 17:26:27 -0600 Cc: Postgres Maillist Content-Transfer-Encoding: quoted-printable Message-Id: <5600A100-C4A4-427D-938E-9FFDDBE87132@elevated-dev.com> References: <0A21BC93-7B9C-476E-AAF4-0FF71708E87F@elevated-dev.com> <3184.1427063304@sss.pgh.pa.us> <3533.1427064190@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.2070.6) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Mar 22, 2015, at 4:43 PM, Tom Lane wrote: >=20 > So this works only if your libpq.dylib is actually installed at the > location that was expected when you built it. The recipe you gave > looks like it should have done that, but I'm suspicious that the > answer is somewhere near here. Oh, take me out back and shoot me now ;-) The one step I left out of my description of the process was the one immedi= ately after make install where I decided I did not like the name of the fol= der I had built into, and re-named it. I am surprised though, that with a f= ull path to libpq, when that path does not exist, the loader searches and f= inds a system lib instead of just failing. It's questionable whether the PG executables should be built with full or r= elative paths to the libs, both have their own disadvantages. But might be = worth considering --relative-rpath someday? Or an option to link the fricki= n' static libraries in and avoid the whole issue of mismatches. --=20 Scott Ribe scott_ribe@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin