Re: 64-bit Compile Failure on Solaris 10 with OpenSSL

From: Andy Colson <andy(at)squeakycode(dot)net>
To: "Randal T(dot) Rioux" <randy(at)procyonlabs(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: 64-bit Compile Failure on Solaris 10 with OpenSSL
Date: 2008-09-10 16:48:43
Message-ID: 48C7FA6B.30903@squeakycode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Randal T. Rioux wrote:
>
> Found a kludgy fix!
>
> cp /usr/local/lib/sparcv9/libgcc_s.so.1 /usr/sfw/lib/sparcv9/
>
> Now, both OpenSSL and PostgreSQL work great. In 64-bit mode.
>
> If anyone has a less hack-ish solution, please share.
>
> Thanks!
> Randy

Not sure if this'll make it to the list or not, I'm not currently
registered, so apologies...

The linker and the loader use two different things. The linker use
LD_LIBRARY_PATH env. The loader does not. (and never never type
'ldconfig' on solaris cuz it'll really mess things up).

use 'crle -u -l /usr/local/lib/sparcv9/'

to add the path to the loaders search path.

more here:

http://blogs.sun.com/rie/entry/changing_search_paths_with_crle

-Andy

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dean Rasheed 2008-09-10 17:02:28 No error when column doesn't exist
Previous Message Joshua Drake 2008-09-10 16:15:49 Re: What's size of your PostgreSQL Database?