Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UNrZs-0006Da-Ph for pgsql-admin@arkaria.postgresql.org; Thu, 04 Apr 2013 21:20:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UNrZs-0006MI-9M for pgsql-admin@arkaria.postgresql.org; Thu, 04 Apr 2013 21:20:12 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UNrZr-0006Lh-8o for pgsql-admin@postgresql.org; Thu, 04 Apr 2013 21:20:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UNrZp-0007Sk-8O for pgsql-admin@postgresql.org; Thu, 04 Apr 2013 21:20:10 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r34LK8in011704; Thu, 4 Apr 2013 17:20:08 -0400 (EDT) From: Tom Lane To: "Campbell, Lance" cc: "pgsql-admin@postgresql.org" Subject: Re: Trouble connecting locally after 9.2.4 upgrade In-reply-to: References: <9736.1365105359@sss.pgh.pa.us> Comments: In-reply-to "Campbell, Lance" message dated "Thu, 04 Apr 2013 20:59:23 -0000" Date: Thu, 04 Apr 2013 17:20:07 -0400 Message-ID: <11703.1365110407@sss.pgh.pa.us> X-Pg-Spam-Score: -4.3 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org "Campbell, Lance" writes: > I figured it all out. When I ran the configuration script I told it to put the code in pgsql-9.2.4. Then after the code installed I moved it to pgsql-9.2. Then the install could not find the proper libraries. So it used the system one. I reinstalled but this time with the target directory of pgsql-9.2. It worked fine. I don't need the environment variable LD_LIBRARY_PATH now. Hah. Right, because configure would have set things up to build psql etc with rpaths pointing to the lib directory under the installation directory it was told to use. So it'd work until you moved the lib directory. Moral: be careful about relocating installed trees. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin