From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Long <mlong@datalong.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Users and multiple server environment
Date: Sun, 03 Oct 2004 02:33:45 -0400
Message-ID: <29421.1096785225@sss.pgh.pa.us> (raw)
In-Reply-To: <415F9A9F.6090500@datalong.com>
References: <415F87D7.5000800@datalong.com>
<28880.1096780739@sss.pgh.pa.us>
<415F8EC5.9040504@datalong.com>
<415F9A9F.6090500@datalong.com>
Michael Long <mlong@datalong.com> writes:
> Further investigation shows that I was not using the newly built psql
> binary. When attempting to use the newly built binary I get an error.
> Did I miss something during the configure/make dance. Here is what I get.
> ./psql -U proporg
> ./psql: relocation error: ./psql: undefined symbol: PQsetErrorVerbosity
This looks like a 7.4 psql trying to use a pre-7.4 libpq.so. You need
to take a close look at where you've installed the different libpq
generations and how this matches up to the ldconfig search path.
Personally I like to use rpath-style link specifications to ensure that
a particular psql generation will hook to the corresponding libpq
generation, regardless of any system-wide ldconfig settings. There are
other ways to do it, but the default Linux mechanism doesn't work very
well for this :-(
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, mlong@datalong.com
Subject: Re: Users and multiple server environment
In-Reply-To: <29421.1096785225@sss.pgh.pa.us>
References: <415F87D7.5000800@datalong.com> <28880.1096780739@sss.pgh.pa.us> <415F8EC5.9040504@datalong.com> <415F9A9F.6090500@datalong.com> <29421.1096785225@sss.pgh.pa.us>
* 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