Re: Broken postgres links need to find callers - Mailing list pgsql-general

From Andrew Gierth
Subject Re: Broken postgres links need to find callers
Date
Msg-id 87ftwl6bve.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: Broken postgres links need to find callers  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Broken postgres links need to find callers
List pgsql-general
>>>>> "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)


pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Broken postgres links need to find callers
Next
From: Adrian Klaver
Date:
Subject: Re: Broken postgres links need to find callers