Re: Errors building 1.1.1 on RHEL 7

2019-07-18 Thread Viktor Dukhovni
> On Jul 18, 2019, at 3:13 PM, Mark Richter wrote: > > 2. Not at all clear on what the "_OPT" part means - do I need to change my > source code to use this for accessors or ??? Just try it and see. The "_OPT" in the symbol version is internally generated from "-opt" in the shlib_variant

Re: Errors building 1.1.1 on RHEL 7

2019-07-18 Thread Viktor Dukhovni
> On Jul 18, 2019, at 2:57 PM, Mark Richter wrote: > > Also, once I figure out the build issues, how can I statically link the ssl > libraries into my app? (That way we don't require our customers to build and > install OpenSSL 1.1.1 pon their RHEL 7 hosts.) Are there any gotchas to > doing

RE: Errors building 1.1.1 on RHEL 7

2019-07-18 Thread Michael Wojcik
> From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of > Mark Richter > Sent: Thursday, July 18, 2019 12:57 > > Is Linux considered to be the same as (or similar enough to) Unix w.r.t. the > building instructions? I'm reading the INSTALL file and it doesn't mention > Linux

RE: Errors building 1.1.1 on RHEL 7

2019-07-18 Thread Mark Richter
> -Original Message- > From: openssl-users On Behalf Of Viktor > Dukhovni > Sent: Wednesday, July 17, 2019 12:42 PM > To: openssl-users@openssl.org > Subject: Re: Errors building 1.1.1 on RHEL 7 >: > 4. Build and install OpenSSL 1.1.1c with "--prefix=/opt/o

RE: Errors building 1.1.1 on RHEL 7

2019-07-18 Thread Mark Richter
-Original Message- [edited] From: openssl-users On Behalf Of Viktor Dukhovni Sent: Wednesday, July 17, 2019 6:17 PM To: openssl-users@openssl.org Subject: Re: Errors building 1.1.1 on RHEL 7 >>> 2. Configure your OpenSSL build to use the corresponding "rpath": >&

Re: Errors building 1.1.1 on RHEL 7

2019-07-18 Thread Blumenthal, Uri - 0553 - MITLL
Probably, disregard: the problem seems to be related to the incomplete support for ISO C11 in GCC on CentOS (and I'm willing to bet - on RHEL). Changing the standard to "-std=gnu99" lead to a successful build with all the tests passing. On 7/18/19, 12:28 PM, "openssl-users on behalf of

Re: Errors building 1.1.1 on RHEL 7

2019-07-18 Thread Blumenthal, Uri - 0553 - MITLL
I'm getting a somewhat different error trying to build OpenSSL_1_1_1-stable on CentOS 7 (similar to RHEL 7). Configuration: ./config --prefix=$HOME/openssl-1.1 --debug --openssldir=$HOME/openssl-1.1/etc --with-rand-seed=rdcpu enable-aria enable-ec_nistp_64_gcc_128 enable-md2 enable-rc5

Re: Errors building 1.1.1 on RHEL 7

2019-07-17 Thread Viktor Dukhovni
On Thu, Jul 18, 2019 at 12:54:51AM +, Mark Richter wrote: > I'm still really new at this - a few questions: Understood. > 1. Choose some location that is not on the default library search path > to install the 1.1.1 custom libraries. I use /opt/openssl/1.1/lib > > > How do I specify

RE: Errors building 1.1.1 on RHEL 7

2019-07-17 Thread Mark Richter
I'm still really new at this - a few questions: -Original Message- From: openssl-users On Behalf Of Viktor Dukhovni Sent: Wednesday, July 17, 2019 12:42 PM To: openssl-users@openssl.org Subject: Re: Errors building 1.1.1 on RHEL 7 On a system with OpenSSL 1.0.2 or OpenSSL 1.1.0 in /usr

Re: Errors building 1.1.1 on RHEL 7

2019-07-17 Thread Viktor Dukhovni
> On Jul 17, 2019, at 3:41 PM, Viktor Dukhovni > wrote: > > On a system with OpenSSL 1.0.2 or OpenSSL 1.1.0 in /usr/lib (on the default > search path), and especially when you're linking with other libraries that > in turn were linked against the OpenSSL version in /usr/lib, using OpenSSL >

Re: Errors building 1.1.1 on RHEL 7

2019-07-17 Thread Viktor Dukhovni
On a system with OpenSSL 1.0.2 or OpenSSL 1.1.0 in /usr/lib (on the default search path), and especially when you're linking with other libraries that in turn were linked against the OpenSSL version in /usr/lib, using OpenSSL 1.1.1 in your application requires care... > On Jul 17, 2019, at 2:22

RE: Errors building 1.1.1 on RHEL 7

2019-07-17 Thread Mark Richter
It works better with 1.1.1c. Thank you. -Original Message- From: Matt Caswell Sent: Wednesday, July 17, 2019 1:16 AM To: Mark Richter ; openssl-users@openssl.org Subject: Re: Errors building 1.1.1 on RHEL 7 On 16/07/2019 23:27, Mark Richter wrote: > Result: PASS Well that's qu

RE: Errors building 1.1.1 on RHEL 7

2019-07-17 Thread Mark Richter
M To: Mark Richter ; Matt Caswell ; openssl-users@openssl.org Subject: Re: Errors building 1.1.1 on RHEL 7 FWIW: I just downloaded openssl 1.1.1c, untarred it on my CentOS 7 box, then ran ./config make make test The tests passed with the following output (the "ok" tests strippe

Re: Errors building 1.1.1 on RHEL 7

2019-07-17 Thread Jan Just Keijser
n perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. Mark Richter | Senior Staff Engineer SolarFlare Communications, Inc. | www.Solarflare.com 9444 Waples Street, #170, San Diego, CA 92121 Mobile: +1 949-

Re: Errors building 1.1.1 on RHEL 7

2019-07-17 Thread Matt Caswell
Inc. | www.Solarflare.com > 9444 Waples Street, #170, San Diego, CA 92121 > Mobile: +1 949-632-8403 > > > > From: openssl-users on behalf of Matt > Caswell > Sent: Tuesday, July 16, 2019 3:20 PM > To: openssl-users@openssl.org > Subject: Re: Errors building 1.1

Re: Errors building 1.1.1 on RHEL 7

2019-07-16 Thread Mark Richter
Staff Engineer SolarFlare Communications, Inc. | www.Solarflare.com 9444 Waples Street, #170, San Diego, CA 92121 Mobile: +1 949-632-8403 From: openssl-users on behalf of Matt Caswell Sent: Tuesday, July 16, 2019 3:20 PM To: openssl-users@openssl.o

Re: Errors building 1.1.1 on RHEL 7

2019-07-16 Thread Matt Caswell
On 16/07/2019 22:23, Mark Richter wrote: > After I built version 1.1.1 on RHEL 7, I got these errors at the end of the > 'make test.' What do they mean? > > > Test Summary Report > --- > ../test/recipes/15-test_dsa.t(Wstat: 768 Tests: 6 Failed: > 3) >

Re: Errors building 1.1.1 on RHEL 7

2019-07-16 Thread Viktor Dukhovni
On Tue, Jul 16, 2019 at 09:23:32PM +, Mark Richter wrote: > After I built version 1.1.1 on RHEL 7, I got these errors at the end of the > 'make test.' What do they mean? The test scripts exited with non-zero exit codes. > Test Summary Report > --- >