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 18:24:35 -0400
Message-ID: <9756.1096842275@sss.pgh.pa.us> (raw)
In-Reply-To: <41606106.2080006@datalong.com>
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>
<415FA1FB.9000306@datalong.com>
<3071.1096822055@sss.pgh.pa.us>
<41606106.2080006@datalong.com>
Michael Long <mlong@datalong.com> writes:
> ./psql template1
> ./psql: relocation error: ./psql: undefined symbol: PQsetErrorVerbosity
> Is psql linked to the proper libraries?
> ldd /usr/local/pgsql_8.0b3/bin/psql
> libpq.so.3 => /usr/lib/libpq.so.3 (0x40025000)
Obviously not :-(. This should be pointing to /usr/local/pgsql_8.0b3/lib/
so it seems you didn't do the rpath enabling correctly; or maybe your
system is configured in a way that overrides rpath (do you have
LD_LIBRARY_PATH set in your environment?).
I don't have any more advice than that to give; you may need to find a
Linux shared-library guru to help you fix it.
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: <9756.1096842275@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> <415FA1FB.9000306@datalong.com> <3071.1096822055@sss.pgh.pa.us> <41606106.2080006@datalong.com> <9756.1096842275@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