Actions
Task #3697
closedci: OSX build on Travis CI is failing
Start date:
08/04/2016
Due date:
% Done:
100%
Estimated time:
Description
Here is the error:
Checking for OpenSSL lib : OpenSSL not found, please provide a --with-openssl=PATH argument (see help)
And the cause is some "smartness" of homebrew, which decided to ignore "force linking":
+brew link --force openssl
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
I'm unsure why this error does not appear on our OSX slaves and only on Travis.
Updated by Alex Afanasyev over 8 years ago
- Status changed from New to Code review
- % Done changed from 0 to 100
Updated by Alex Afanasyev over 8 years ago
This is the motivation why HomeBrew decided to remove ability to force link openssl: https://langui.sh/2015/07/24/osx-clang-include-lib-search-paths/
This applies to default search paths and does not affect our compilation, as we don't rely on default paths in most cases.
Updated by Alex Afanasyev over 8 years ago
- Status changed from Code review to Closed
Actions