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 9EBF932A1AE for ; Tue, 5 Oct 2004 02:14:32 +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 18903-10 for ; Tue, 5 Oct 2004 01:14:25 +0000 (GMT) Received: from main01.cmc.com.vn (mail.cmc.com.vn [203.162.12.125]) by svr1.postgresql.org (Postfix) with ESMTP id 3F63232A1A6 for ; Tue, 5 Oct 2004 02:14:23 +0100 (BST) Received: from mailserver.cmc.com.vn (mail.hn.cmc.vn [192.168.1.2]) by main01.cmc.com.vn (8.12.8/linuxconf) with ESMTP id i95F1jtU008191; Tue, 5 Oct 2004 08:01:46 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: Users and multiple server environment Date: Tue, 5 Oct 2004 08:17:02 +0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] Users and multiple server environment Thread-Index: AcSpmKQOnX0/2jnjTZmL3V3TeFFCjQA34nVA From: "Cao Van Khanh" To: "Tom Lane" Cc: "pgsql-admin" 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/88 X-Sequence-Number: 15081 Try :=20 ./psql -d template1 -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20 Sent: Monday, October 04, 2004 5:25 AM To: Michael Long Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Users and multiple server environment=20 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 =3D> /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