Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHyFe-0001uH-8x for pgsql-general@arkaria.postgresql.org; Wed, 31 Oct 2018 21:42:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gHyFc-0002zX-Qg for pgsql-general@arkaria.postgresql.org; Wed, 31 Oct 2018 21:42:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHyFc-0002zQ-Ep for pgsql-general@lists.postgresql.org; Wed, 31 Oct 2018 21:42:08 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHyFZ-0001y5-4A for pgsql-general@postgresql.org; Wed, 31 Oct 2018 21:42:07 +0000 Received: from [192.168.127.1] (port=50009 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1gHyFW-000FiJ-8Y; Wed, 31 Oct 2018 21:42:02 +0000 Received: from [127.0.0.1] (port=16975 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1gHyFV-0006EP-FL; Wed, 31 Oct 2018 21:42:01 +0000 From: Andrew Gierth To: Rich Shepard Cc: pgsql-general@postgresql.org Subject: Re: Broken postgres links need to find callers In-Reply-To: (Rich Shepard's message of "Wed, 31 Oct 2018 11:48:56 -0700 (PDT)") Message-ID: <87ftwl6bve.fsf@news-spur.riddles.org.uk> References: <87k1ly55pu.fsf@news-spur.riddles.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Wed, 31 Oct 2018 21:42:00 +0000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Rich" == Rich Shepard writes: Rich> Yes, pg_config is present but pointing to the wrong directory: Rich> # /usr/lib/postgresql/10.3/bin/pg_config --sharedir Rich> /usr/share/postgresql-10.2 What this says is that you somehow have a pg 10.3 binary which has been compiled with ./configure --datadir=/usr/share/postgresql-10.2 which seems, to say the least, somewhat odd. pg_config isn't used by the postgres binary to find paths, so "fixing" it wouldn't help. The same paths that were compiled into pg_config are compiled into the postgres binary, and pg_config and postgres contain the same relocation logic. -- Andrew (irc:RhodiumToad)