From: Cao Van Khanh <cvkhanh@cmc.com.vn>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Users and multiple server environment
Date: Tue, 5 Oct 2004 08:17:02 +0700
Message-ID: <C45BCBD93973B84799EC3C3450A4372D9FF258@mailserver.cmc.com.vn> (raw)
Try :
./psql -d template1
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Monday, October 04, 2004 5:25 AM
To: Michael Long
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Users and multiple server environment
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
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if
your
joining column's datatypes do not match
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: cvkhanh@cmc.com.vn, tgl@sss.pgh.pa.us
Subject: Re: Users and multiple server environment
In-Reply-To: <C45BCBD93973B84799EC3C3450A4372D9FF258@mailserver.cmc.com.vn>
References: <C45BCBD93973B84799EC3C3450A4372D9FF258@mailserver.cmc.com.vn>
* 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