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

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: "Randal T(dot) Rioux" <randy(at)procyonlabs(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: 64-bit Compile Failure on Solaris 10 with OpenSSL
Date: 2008-09-09 08:45:34
Message-ID: Pine.GSO.4.64.0809090402140.572@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, 6 Sep 2008, Randal T. Rioux wrote:

> On Sat, September 6, 2008 8:21 pm, Tom Lane wrote:
>> I'm not a Solaris user, but I'd be kinda surprised if Solaris' own
> libraries were built with gcc --- Sun has their own compiler no?

They released the instructions for how they were building their official
PostgreSQL packages using their Sun Studio compiler at one point at
http://wikis.sun.com/display/DBonSolaris/BuildingPostgreSQL

> bash-3.00# ldd /usr/local/lib/sparcv9/libgcc_s.so.1

I note that they explicitly include a few directories using --with-libs in
that example. May you need to add /usr/local/lib/sparcv9 similarly?
There's also some LD_OPTIONS magic you may need.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Zdenek Kotala 2008-09-09 09:10:21 Re: 64-bit Compile Failure on Solaris 10 with OpenSSL
Previous Message Greg Smith 2008-09-09 08:41:20 Re: Postgres in a solaris zone - patch 125077-02 needed