Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 6EC8564FC60 for ; Tue, 23 Dec 2008 00:51:01 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 00183-03 for ; Tue, 23 Dec 2008 00:50:59 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 4371964FC4E for ; Tue, 23 Dec 2008 00:50:58 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id mBN4oqhZ015436; Mon, 22 Dec 2008 23:50:53 -0500 (EST) To: Carol Walter cc: pgsql-admin@postgresql.org Subject: Re: Psql errors In-reply-to: References: Comments: In-reply-to Carol Walter message dated "Mon, 22 Dec 2008 09:43:54 -0500" Date: Mon, 22 Dec 2008 23:50:52 -0500 Message-ID: <15435.1230007852@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200812/181 X-Sequence-Number: 31014 Carol Walter 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