Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E99AFB5D8C5 for ; Wed, 10 Aug 2011 17:27:06 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 93105-10 for ; Wed, 10 Aug 2011 20:27:00 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-vw0-f46.google.com (mail-vw0-f46.google.com [209.85.212.46]) by mail.postgresql.org (Postfix) with ESMTP id B2D03B5D80A for ; Wed, 10 Aug 2011 17:27:00 -0300 (ADT) Received: by vws1 with SMTP id 1so1684201vws.33 for ; Wed, 10 Aug 2011 13:27:00 -0700 (PDT) Received: by 10.220.162.131 with SMTP id v3mr639190vcx.219.1313008020353; Wed, 10 Aug 2011 13:27:00 -0700 (PDT) Received: from issac.consistentstate.com (neustargw.va.neustar.com [209.173.53.233]) by mx.google.com with ESMTPS id q2sm607222vcb.47.2011.08.10.13.26.59 (version=SSLv3 cipher=OTHER); Wed, 10 Aug 2011 13:26:59 -0700 (PDT) Message-ID: <4E42E993.2090800@consistentstate.com> Date: Wed, 10 Aug 2011 14:26:59 -0600 From: CS DBA User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: Tom Lane CC: PG Admin Subject: Re: initdb fails on AIX References: <4E42D725.8070803@consistentstate.com> <16192.1313003802@sss.pgh.pa.us> <4E42E698.50007@consistentstate.com> <17772.1313007723@sss.pgh.pa.us> In-Reply-To: <17772.1313007723@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201108/95 X-Sequence-Number: 38082 On 08/10/2011 02:22 PM, Tom Lane wrote: > CS DBA 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 ---------------------------------------------