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 5091D329CFB for ; Sun, 3 Oct 2004 23:24:47 +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 76410-02 for ; Sun, 3 Oct 2004 22:24:36 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 16B3532A02D for ; Sun, 3 Oct 2004 23:24:37 +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 i93MOZkU009757; Sun, 3 Oct 2004 18:24:35 -0400 (EDT) To: Michael Long Cc: pgsql-admin@postgresql.org Subject: Re: Users and multiple server environment 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> Comments: In-reply-to Michael Long message dated "Sun, 03 Oct 2004 16:28:54 -0400" Date: Sun, 03 Oct 2004 18:24:35 -0400 Message-ID: <9756.1096842275@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/77 X-Sequence-Number: 15070 Michael Long 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