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

From: "Randal T(dot) Rioux" <randy(at)procyonlabs(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 64-bit Compile Failure on Solaris 10 with OpenSSL
Date: 2008-09-08 02:49:45
Message-ID: af75cf2d72348ccc9c805f9858b94dee.squirrel@meteor.procyonlabs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, September 7, 2008 12:47 am, Tom Lane wrote:
> "Randal T. Rioux" <randy(at)procyonlabs(dot)com> writes:
>> On Sat, September 6, 2008 8:21 pm, Tom Lane wrote:
>> ldd or local equivalent might help debug this.
>
>> bash-3.00# ldd /usr/local/lib/sparcv9/libgcc_s.so.1
>> libc.so.1 => /lib/64/libc.so.1
>> libm.so.2 => /lib/64/libm.so.2
>> /platform/SUNW,Ultra-80/lib/sparcv9/libc_psr.so.1
>
> How about ldd on the libssl.so you're using?

We're getting closer...

bash-3.00# ldd /usr/local/ssl/lib/libssl.so
libcrypto.so.0.9.8 => /usr/local/ssl/lib/libcrypto.so.0.9.8
libsocket.so.1 => /lib/64/libsocket.so.1
libnsl.so.1 => /lib/64/libnsl.so.1
libdl.so.1 => /lib/64/libdl.so.1
libgcc_s.so.1 => (file not found)
libgcc_s.so.1 => (file not found)
libc.so.1 => /lib/64/libc.so.1
libmp.so.2 => /lib/64/libmp.so.2
libmd.so.1 => /lib/64/libmd.so.1
libscf.so.1 => /lib/64/libscf.so.1
libdoor.so.1 => /lib/64/libdoor.so.1
libuutil.so.1 => /lib/64/libuutil.so.1
libgen.so.1 => /lib/64/libgen.so.1
libm.so.2 => /lib/64/libm.so.2
/platform/SUNW,Ultra-80/lib/sparcv9/libc_psr.so.1
/platform/SUNW,Ultra-80/lib/sparcv9/libmd_psr.so.1

Now why would libssl.so not be linked to libgcc_s.so.1? Why would
PostgreSQL care and not Apache?

Thanks so much for helping me out with this.

Randy

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ..::rDk::.. 2008-09-08 03:08:25 weekday from timestamp?
Previous Message Artacus 2008-09-08 01:35:51 psql scripting tutorials