pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Rich Shepard <rshepard@appl-ecosys.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Broken postgres links need to find callers
Date: Wed, 31 Oct 2018 21:42:00 +0000
Message-ID: <87ftwl6bve.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <alpine.LNX.2.20.1810311142570.26169@salmo.appl-ecosys.com>
References: <alpine.LNX.2.20.1810310925130.26169@salmo.appl-ecosys.com>
	<87k1ly55pu.fsf@news-spur.riddles.org.uk>
	<alpine.LNX.2.20.1810311142570.26169@salmo.appl-ecosys.com>

>>>>> "Rich" == Rich Shepard <rshepard@appl-ecosys.com> 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)




view thread (33+ messages)  latest in thread

Message-ID: <87ftwl6bve.fsf@news-spur.riddles.org.uk>
Permalink:  ../87ftwl6bve.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/87ftwl6bve.fsf@news-spur.riddles.org.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, rshepard@appl-ecosys.com
  Subject: Re: Broken postgres links need to find callers
  In-Reply-To: <87ftwl6bve.fsf@news-spur.riddles.org.uk>
  References: <alpine.LNX.2.20.1810310925130.26169@salmo.appl-ecosys.com> <87k1ly55pu.fsf@news-spur.riddles.org.uk> <alpine.LNX.2.20.1810311142570.26169@salmo.appl-ecosys.com> <87ftwl6bve.fsf@news-spur.riddles.org.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox