From 855b90eea40db038a9029c8de17ee772d5aad0f3 Mon Sep 17 00:00:00 2001 From: msreckovic Date: Tue, 9 Aug 2016 11:39:43 -0400 Subject: [PATCH] Update README.md with further openssl instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sometimes building with openssl requires major intervention of pointing the include path to the local installation of openssl, when the brew link refuses to link. - [ X] `./mach build -d` does not report any errors - [ X] `./mach test-tidy` does not report any errors - [ X] These changes do not require tests because it’s a documentation change --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index fb215bd510b..cba4907649e 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,17 @@ brew install openssl brew link --force openssl ``` +If you get this error during the brew link step: +```sh +Warning: Refusing to link: openssl +``` +followed by a compile error not being able to find one or more +openssl/ include files, you may want to try: +```sh +export DEP_OPENSSL_INCLUDE=/usr/local/include +./mach build ... +``` + If you get this error: ``` sh "Couldn't find libavformat", do the following: