* AWS+OpenSSL
@ 2018-06-14 10:17 eduardsapotski
2018-06-14 10:28 ` AWS+OpenSSL Brian Drummond
2018-06-15 5:16 ` AWS+OpenSSL eduardsapotski
0 siblings, 2 replies; 8+ messages in thread
From: eduardsapotski @ 2018-06-14 10:17 UTC (permalink / raw)
I try build AWS 2018 include OpenSSL. OS - Ubuntu 18.
Getting errors:
/home/ds/downloads/aws-gpl-2018-src/.build/x86_64-pc-linux-gnu/release/static/lib/aws/libaws.a(aws-net-ssl__openssl.o): In function `aws__net__ssl__locking__finalizeXnn':
aws-net-ssl__openssl.adb:(.text+0xa09): undefined reference to `DH_free'
/home/ds/downloads/aws-gpl-2018-src/.build/x86_64-pc-linux-gnu/release/static/lib/aws/libaws.a(aws-net-ssl__openssl.o): In function `aws__net__ssl__cipher_description':
aws-net-ssl__openssl.adb:(.text+0xd57): undefined reference to `SSL_get_current_cipher'
aws-net-ssl__openssl.adb:(.text+0xd75): undefined reference to `SSL_CIPHER_description'
/home/ds/downloads/aws-gpl-2018-src/.build/x86_64-pc-linux-gnu/release/static/lib/aws/libaws.a(aws-net-ssl__openssl.o): In function `aws__net__ssl__free__4':
aws-net-ssl__openssl.adb:(.text+0x10b7): undefined reference to `SSL_free'
aws-net-ssl__openssl.adb:(.text+0x10c0): undefined reference to `BIO_free'
/home/ds/downloads/aws-gpl-2018-src/.build/x86_64-pc-linux-gnu/release/static/lib/aws/libaws.a(aws-net-ssl__openssl.o): In function `aws__net__ssl__pending':
aws-net-ssl__openssl.adb:(.text+0x1656): undefined reference to `SSL_pending'
/home/ds/downloads/aws-gpl-2018-src/.build/x86_64-pc-linux-gnu/release/static/lib/aws/libaws.a(aws-net-ssl__openssl.o): In function `aws__net__ssl__session_reused':
aws-net-ssl__openssl.adb:(.text+0x16e2): undefined reference to `SSL_ctrl'
/home/ds/downloads/aws-gpl-2018-src/.build/x86_64-pc-linux-gnu/release/static/lib/aws/libaws.a(aws-net-ssl__openssl.o): In function `aws__net__ssl__set_session_data':
aws-net-ssl__openssl.adb:(.text+0x2161): undefined reference to `SSL_set_session'
/home/ds/downloads/aws-gpl-2018-src/.build/x86_64-pc-linux-gnu/release/static/lib/aws/libaws.a(aws-net-ssl__openssl.o): In function `aws__net__ssl__init_random':
aws-net-ssl__openssl.adb:(.text+0x237d): undefined reference to `RAND_seed'
/home/ds/downloads/aws-gpl-2018-src/.build/x86_64-pc-linux-gnu/release/static/lib/aws/libaws.a(aws-net-ssl__openssl.o): In function `aws__net__ssl__verify_callback':
aws-net-ssl__openssl.adb:(.text+0x2464): undefined reference to `SSL_get_ex_data_X509_STORE_CTX_idx'
aws-net-ssl__openssl.adb:(.text+0x246e): undefined reference to `X509_STORE_CTX_get_ex_data'
aws-net-ssl__openssl.adb:(.text+0x2479): undefined reference to `SSL_get_SSL_CTX'
aws-net-ssl__openssl.adb:(.text+0x2484): undefined reference to `SSL_get_verify_mode'
aws-net-ssl__openssl.adb:(.text+0x248f): undefined reference to `X509_STORE_CTX_get_current_cert'
aws-net-ssl__openssl.adb:(.text+0x249a): undefined reference to `X509_STORE_CTX_get_error'
aws-net-ssl__openssl.adb:(.text+0x24ab): undefined reference to `SSL_CTX_get_ex_data'
...
...
...
ds@pc:~/downloads/aws-gpl-2018-src$ openssl version
OpenSSL 1.1.0g 2 Nov 2017
Package libssl-dev installed:
ds@pc:~/downloads/aws-gpl-2018-src$ sudo apt install libssl-dev
[sudo] password for ds:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version (1.1.0g-2ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
What to do?
How do I understand AWS does not support OpenSSL 1.1?
Thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: AWS+OpenSSL
2018-06-14 10:17 AWS+OpenSSL eduardsapotski
@ 2018-06-14 10:28 ` Brian Drummond
2018-06-14 10:39 ` AWS+OpenSSL eduardsapotski
2018-06-15 5:16 ` AWS+OpenSSL eduardsapotski
1 sibling, 1 reply; 8+ messages in thread
From: Brian Drummond @ 2018-06-14 10:28 UTC (permalink / raw)
On Thu, 14 Jun 2018 03:17:54 -0700, eduardsapotski wrote:
> I try build AWS 2018 include OpenSSL. OS - Ubuntu 18.
> Getting errors:
Which OS, compiler version, and where did you get AWS?
The messages suggest you may be mixing versions.
In the distant past I had troubles building AWS from Adacore's downloads
with the FSF compiler (+ tools etc) native to Debian.
At the time I "resolved" the issue by downloading Gnat-GPL from Adacore
and it all simply worked. (I didn't dig any further to find the issue)
Recently I built AWS with FSF Gnat and that simply worked too (though I
didn't try SSL) - the difference may have been that I got AWS from Debian
https://packages.debian.org/source/stable/libaws
and related packages.
Presumably this is Debian patched to work with Debian's own FSF Gnat and
SSL packages.
-- Brian
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: AWS+OpenSSL
2018-06-14 10:28 ` AWS+OpenSSL Brian Drummond
@ 2018-06-14 10:39 ` eduardsapotski
0 siblings, 0 replies; 8+ messages in thread
From: eduardsapotski @ 2018-06-14 10:39 UTC (permalink / raw)
четверг, 14 июня 2018 г., 13:28:22 UTC+3 пользователь Brian Drummond написал:
> On Thu, 14 Jun 2018 03:17:54 -0700, eduardsapotski wrote:
>
> > I try build AWS 2018 include OpenSSL. OS - Ubuntu 18.
> > Getting errors:
>
> Which OS, compiler version, and where did you get AWS?
>
> The messages suggest you may be mixing versions.
>
> In the distant past I had troubles building AWS from Adacore's downloads
> with the FSF compiler (+ tools etc) native to Debian.
>
> At the time I "resolved" the issue by downloading Gnat-GPL from Adacore
> and it all simply worked. (I didn't dig any further to find the issue)
>
> Recently I built AWS with FSF Gnat and that simply worked too (though I
> didn't try SSL) - the difference may have been that I got AWS from Debian
> https://packages.debian.org/source/stable/libaws
> and related packages.
>
> Presumably this is Debian patched to work with Debian's own FSF Gnat and
> SSL packages.
>
> -- Brian
I use gnat and aws loaded from AdaCore: https://www.adacore.com/download
AWS successfully compiled without OpenSSL.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: AWS+OpenSSL
2018-06-14 10:17 AWS+OpenSSL eduardsapotski
2018-06-14 10:28 ` AWS+OpenSSL Brian Drummond
@ 2018-06-15 5:16 ` eduardsapotski
2018-06-15 7:46 ` AWS+OpenSSL Björn Lundin
1 sibling, 1 reply; 8+ messages in thread
From: eduardsapotski @ 2018-06-15 5:16 UTC (permalink / raw)
Only I have such problem? The same thing happens on CentOS 6.
Think that I need to write somewhere "-lssl". But where?
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-06-15 18:08 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-14 10:17 AWS+OpenSSL eduardsapotski
2018-06-14 10:28 ` AWS+OpenSSL Brian Drummond
2018-06-14 10:39 ` AWS+OpenSSL eduardsapotski
2018-06-15 5:16 ` AWS+OpenSSL eduardsapotski
2018-06-15 7:46 ` AWS+OpenSSL Björn Lundin
2018-06-15 17:36 ` AWS+OpenSSL eduardsapotski
2018-06-15 17:49 ` AWS+OpenSSL eduardsapotski
2018-06-15 18:08 ` AWS+OpenSSL gautier_niouzes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox