X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 12FA632A21E for ; Sun, 3 Oct 2004 07:33:52 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 85428-06 for ; Sun, 3 Oct 2004 06:33:47 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 496D032A21C for ; Sun, 3 Oct 2004 07:33:47 +0100 (BST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id i936XkZV029422; Sun, 3 Oct 2004 02:33:46 -0400 (EDT) To: Michael Long Cc: pgsql-admin@postgresql.org Subject: Re: Users and multiple server environment In-reply-to: <415F9A9F.6090500@datalong.com> References: <415F87D7.5000800@datalong.com> <28880.1096780739@sss.pgh.pa.us> <415F8EC5.9040504@datalong.com> <415F9A9F.6090500@datalong.com> Comments: In-reply-to Michael Long message dated "Sun, 03 Oct 2004 02:22:23 -0400" Date: Sun, 03 Oct 2004 02:33:45 -0400 Message-ID: <29421.1096785225@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/64 X-Sequence-Number: 15057 Michael Long 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