From 9f1f79888660fcd57e2e5e6434e2fe3ca8601b60 Mon Sep 17 00:00:00 2001 From: Castaneda1914 Date: Wed, 12 Jun 2019 19:47:47 +0300 Subject: [PATCH] removed wrong build instructions for openssl tuning (dotnet/corefx#38458) Commit migrated from https://github.com/dotnet/corefx/commit/28c41fff6f830b8393fd6c7661f33f96aa27f965 --- docs/libraries/building/unix-instructions.md | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/docs/libraries/building/unix-instructions.md b/docs/libraries/building/unix-instructions.md index 47796f3..5ae518c 100644 --- a/docs/libraries/building/unix-instructions.md +++ b/docs/libraries/building/unix-instructions.md @@ -109,31 +109,6 @@ ln -s /usr/local/opt/openssl/lib/pkgconfig/libssl.pc /usr/local/lib/pkgconfig/ ln -s /usr/local/opt/openssl/lib/pkgconfig/openssl.pc /usr/local/lib/pkgconfig/ ``` -Alternatively, to avoid modifying /usr/local/ you can invoke cmake with the `OPENSSL_ROOT_DIR` env var set. The value to be passed in the directory where openssl is installed. Use `brew info openssl` to determine it. For example: - -```none -$ brew info openssl -openssl: stable 1.0.2p (bottled) [keg-only] -SSL/TLS cryptography library -https://openssl.org/ -/usr/local/Cellar/openssl/1.0.2l (1,709 files, 12.3MB) - Poured from bottle on 2017-10-10 at 21:30:10 -/usr/local/Cellar/openssl/1.0.2m (1,792 files, 12.3MB) - Poured from bottle on 2017-11-06 at 17:45:21 -/usr/local/Cellar/openssl/1.0.2n (1,792 files, 12.3MB) - Poured from bottle on 2018-01-25 at 20:22:45 -/usr/local/Cellar/openssl/1.0.2o_2 (1,792 files, 12.3MB) - Poured from bottle on 2018-07-15 at 16:59:46 -/usr/local/Cellar/openssl/1.0.2p (1,793 files, 12.3MB) - Poured from bottle on 2018-08-31 at 19:37:10 -``` - -With the above example, use the latest version path for `1.0.2p`: - -```none -$ OPENSSL_ROOT_DIR=/usr/local/Cellar/openssl/1.0.2p ./build.sh -``` - ### Known Issues If you see errors along the lines of `SendFailure (Error writing headers)` you may need to import trusted root certificates: -- 2.7.4