Re: Users and multiple server environment

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Long <mlong(at)datalong(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Users and multiple server environment
Date: 2004-10-03 06:33:45
Message-ID: 29421.1096785225@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Michael Long <mlong(at)datalong(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Long 2004-10-03 06:53:47 Re: Users and multiple server environment
Previous Message Michael Long 2004-10-03 06:22:23 Re: Users and multiple server environment