From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | "krzf83(at)gmail(dot)com " <krzf83(at)gmail(dot)com> |
Cc: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: how to compile postgresql with other version of openssl? |
Date: | 2015-07-27 03:06:34 |
Message-ID: | 55B5A03A.6000008@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 07/26/2015 05:32 PM, krzf83(at)gmail(dot)com wrote:
> # LDFLAGS="-L/usr/openssl-0.9.8zg/lib" ./configure --with-openssl
> 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.
>
> # grep -i ssl config.log
> configure:13056: gcc -o conftest -Wall -Wmissing-prototypes
> -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
> -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
> -fwrapv -O2 -D_GNU_SOURCE -L/usr/openssl-0.9.8zg/lib conftest.c
> -lssl -lcrypto -lz -lreadline -ltermcap -lrt -lcrypt -ldl -lm >&5
> ./conftest: error while loading shared libraries: libssl.so.0.9.8:
> cannot open shared object file: No such file or directory
>
> # ls /usr/openssl-0.9.8zg/lib
> ./ ../ engines/ libcrypto.a libcrypto.so@ libcrypto.so.0.9.8*
> libssl.a libssl.so@ libssl.so.0.9.8* pkgconfig/
So what does ls -al show?
And what does ldd /usr/openssl-0.9.8zg/lib/libssl.so.0.9.8 show?
>
> For some reason
> LDFLAGS="-L/usr/openssl-1.0.1p/lib" ./configure --with-openssl
> seems to compile ok
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2015-07-27 03:09:17 | Re: I lost my password |
Previous Message | papa | 2015-07-27 03:05:32 | Re: I lost my password |