Re: c program fails to run with the postgres which is installed at user location

From: zhong ming wu <mr(dot)z(dot)m(dot)wu(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: c program fails to run with the postgres which is installed at user location
Date: 2010-06-03 23:30:47
Message-ID: AANLkTimAnikS3nU2yL9qnzsKo36soSzMTUAhNApvDGsJ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jun 3, 2010 at 2:15 AM, John R Pierce <pierce(at)hogranch(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gareth.Williams 2010-06-03 23:43:18 Re: create index concurrently - duplicate index to reduce time without an index
Previous Message Wang, Mary Y 2010-06-03 23:26:05 Re: How to remove the current database and populate the database with new data?