Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 3A186B5DBF2 for ; Sun, 18 Sep 2011 13:01:12 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 63780-09 for ; Sun, 18 Sep 2011 16:01:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from locust.cns.vt.edu (locust.cns.vt.edu [198.82.169.14]) by mail.postgresql.org (Postfix) with ESMTP id 518F6B5DBC5 for ; Sun, 18 Sep 2011 13:01:05 -0300 (ADT) Received: by locust.cns.vt.edu (Postfix, from userid 986) id E5190118DE0; Sun, 18 Sep 2011 12:01:03 -0400 (EDT) Date: Sun, 18 Sep 2011 12:01:03 -0400 From: Ray Stell To: Rural Hunter Cc: pgsql-admin@postgresql.org Subject: Re: Problem of LD_LIBRARY_PATH Message-ID: <20110918160103.GA29019@cns.vt.edu> References: <4E755BCB.6080706@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E755BCB.6080706@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/128 X-Sequence-Number: 38365 On Sun, Sep 18, 2011 at 10:47:39AM +0800, Rural Hunter wrote: > Any suggestion? I don't do ubuntu this week, so I may be out to lunch, but why don't you append to the system set value of the var. In RH (this week) we do this in /etc/profile.d/localpath.sh but shirley ubuntu has some means for doing this: export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ORACLE_HOME/lib"