pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Carol Walter <walterc@indiana.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: Psql errors
Date: Mon, 22 Dec 2008 23:50:52 -0500
Message-ID: <15435.1230007852@sss.pgh.pa.us> (raw)
In-Reply-To: <A7382EC8-8011-486C-9B2F-5F360267E853@indiana.edu>
References: <A7382EC8-8011-486C-9B2F-5F360267E853@indiana.edu>

Carol Walter <walterc@indiana.edu> writes:
> I just installed Postgres 8.3.4.  I have an instance of 8.2.4 running  
> on the same box.  When I start psql I get errors as follows:
> ...
> template1=# \l
> ld.so.1: psql: fatal: relocation error: file /db02/postgres/bin/psql:  
> symbol pg_valid_server_encoding_id: referenced symbol not found

pg_valid_server_encoding_id is exported by the 8.3 version of libpq.so,
but not by 8.2.  So the problem here is that your 8.3 psql is binding
to the wrong version of libpq.so.  You didn't say what the platform
is, but the issue is probably related to the search path used to find
shared libraries.

It would probably work to just overwrite the 8.2 library with 8.3
--- it should be backwards compatible.  (Better save a backup copy
in case not, of course.)

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <15435.1230007852@sss.pgh.pa.us>
Permalink:  ../15435.1230007852@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15435.1230007852@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, walterc@indiana.edu
  Subject: Re: Psql errors
  In-Reply-To: <15435.1230007852@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