pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: CS DBA <cs_dba@consistentstate.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PG Admin <pgsql-admin@postgresql.org>
Subject: Re: initdb fails on AIX
Date: Wed, 10 Aug 2011 14:26:59 -0600
Message-ID: <4E42E993.2090800@consistentstate.com> (raw)
In-Reply-To: <17772.1313007723@sss.pgh.pa.us>
References: <4E42D725.8070803@consistentstate.com>
	<16192.1313003802@sss.pgh.pa.us>
	<4E42E698.50007@consistentstate.com>
	<17772.1313007723@sss.pgh.pa.us>

On 08/10/2011 02:22 PM, Tom Lane wrote:
> CS DBA<cs_dba@consistentstate.com>  writes:
>> On 08/10/2011 01:16 PM, Tom Lane wrote:
>>> This means that initdb tried to execute "postgres -V" and didn't get any
>>> output.  What happens when you try that directly?
>> See below.  One oddity, if I compile without the --with-openssl flag
>> (for the configure command) then it works fine.
>> exec(): 0509-036 Cannot load program ./postgres because of the following
>> errors:
>>           0509-150   Dependent module libcrypto.a(libcrypto.so.0.9.7)
>> could not be loaded.
>>           0509-022 Cannot load module libcrypto.a(libcrypto.so.0.9.7).
>>           0509-026 System error: A file or directory in the path name
>> does not exist.
> Well, yeah.  It looks like there is something pretty broken about your
> openssl installation.  At the very least you need a LD_LIBRARY_PATH (or
> local equivalent) pointing to wherever libcrypto.so is hiding ... but
> a reasonable installation of openssl should have taken care of that for
> you.  Possibly you could build postgres with an rpath (or local
> equivalent) pointing to openssl's library directory.
>
> 			regards, tom lane



Thanks, I'll see if I can track down the libcrypto location and try 
tweaking LD_LIBRARY_PATH first..
Thanks again for the help.

/Kevin

-- 
---------------------------------------------
Kevin Kempter       -       Constent State
A PostgreSQL Professional Services Company
           www.consistentstate.com
---------------------------------------------




view thread (6+ messages)  latest in thread

Message-ID: <4E42E993.2090800@consistentstate.com>
Permalink:  ../4E42E993.2090800@consistentstate.com/
Also on:    postgresql.org/message-id/4E42E993.2090800@consistentstate.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: cs_dba@consistentstate.com, tgl@sss.pgh.pa.us
  Subject: Re: initdb fails on AIX
  In-Reply-To: <4E42E993.2090800@consistentstate.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox