From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | "krzf83(at)gmail(dot)com " <krzf83(at)gmail(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
Cc: | PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: how to compile postgresql with other version of openssl? |
Date: | 2015-07-27 00:29:23 |
Message-ID: | 55B57B63.8070808@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 07/26/2015 05:24 PM, krzf83(at)gmail(dot)com wrote:
>> It may be missing dependencies.
> Like I mentioned without LDFLAGS CFLAGS there are no problem with
> compilation so problem is with configure script and CFLAGS LDFLAGS
> or/and openssl library
>
>> You should check config.log for more input
> I've previously pasted config.log. It does not contain any
> information, only "configure: exit 1", nothing else.
Unless I missed something all you showed was the last three lines of the
file, which may or may not have anything to do with issue.
>
> for tests openssl was compiled with
> CFLAGS=-fPIC ./config shared zlib zlib-dynamic --openssldir=/usr/openssl-0.9.8zg
> CFLAGS=-fPIC ./config shared zlib zlib-dynamic --openssldir=/usr/openssl-1.0.1p
>
> # LDFLAGS="-L/usr/openssl-0.9.8zg/lib" ./configure --with-openssl
> checking test program... failed
> configure: error:
> Could not execute a simple test program. This may be a problem
> related to locating shared libraries. Check the file 'config.log'
> for the exact reason.
>
> # LDFLAGS="-L/usr/openssl-1.0.1p/lib" ./configure --with-openssl
> works. Compiles ok. ldd psql does not show linking to any openssl lib
> for some reason for this new version of openssl (maybe its compiled
> staticly?) so I don't know any other method to check if 1.0.1p is
> actualy compiled in (?)
>
> so a bug... postgresql incomaptibility with openssl 0.9.8zg and a bug
> with ./configure program that does not output anything usefull that
> would indicate cause.
>
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | krzf83@gmail.com | 2015-07-27 00:32:39 | Re: how to compile postgresql with other version of openssl? |
Previous Message | Adrian Klaver | 2015-07-27 00:25:47 | Re: how to compile postgresql with other version of openssl? |