From: | "Nicholson, Brad (Toronto, ON, CA)" <bnicholson(at)hp(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, CS DBA <cs_dba(at)consistentstate(dot)com> |
Cc: | PG Admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: initdb fails on AIX |
Date: | 2011-08-11 12:50:08 |
Message-ID: | 2626AEE4839D064CB0472A3814DC403F46DA3D05FC@GVW1092EXB.americas.hpqcorp.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
> -----Original Message-----
> From: pgsql-admin-owner(at)postgresql(dot)org [mailto:pgsql-admin-
> owner(at)postgresql(dot)org] On Behalf Of Tom Lane
> Sent: Wednesday, August 10, 2011 4:22 PM
> To: CS DBA
> Cc: PG Admin
> Subject: Re: [ADMIN] initdb fails on AIX
>
> CS DBA <cs_dba(at)consistentstate(dot)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.
I used to have all sorts of problems with openssl on AIX (not just Postgres, but other packages I tried building with it). We had to build our own version to get it working with pretty much anything.
Brad.
From | Date | Subject | |
---|---|---|---|
Next Message | Igor Neyman | 2011-08-11 14:06:20 | Re: Postgres service starts and then stops immediatly |
Previous Message | Craig Ringer | 2011-08-11 12:37:56 | Re: Postgres service starts and then stops immediatly |