Re: c program fails to run with the postgres which is installed at user location - Mailing list pgsql-general

From zhong ming wu
Subject Re: c program fails to run with the postgres which is installed at user location
Date
Msg-id AANLkTimAnikS3nU2yL9qnzsKo36soSzMTUAhNApvDGsJ@mail.gmail.com
Whole thread Raw
In response to Re: c program fails to run with the postgres which is installed at user location  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
On Thu, Jun 3, 2010 at 2:15 AM, John R Pierce <pierce@hogranch.com> wrote:
> zhong ming wu wrote:
>>
>> ...
>> This machine is RHEL 5.5 and has both RH stock postgres 8.1.18 in
>
> you probably need to either use "-R $HOME/local/lib" on the link command to
> specify the runtime path to find .so's in, or add $HOME/local/lib to
> LD_LIBRARY_PATH (I prefer the former if the linking is under my control, but
> revert to the latter if I absolutely have to)
>

Thanks.  Setting LD_LIBRARY_PATH works.

pgsql-general by date:

Previous
From: "Wang, Mary Y"
Date:
Subject: Re: How to remove the current database and populate the database with new data?
Next
From:
Date:
Subject: Re: create index concurrently - duplicate index to reduce time without an index