[
https://issues.apache.org/jira/browse/KUDU-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Bukor closed KUDU-2346.
------------------------------
Resolution: Fixed
> Document or fix mac pkg-config/PKG_CONFIG_PATH issue
> ----------------------------------------------------
>
> Key: KUDU-2346
> URL: https://issues.apache.org/jira/browse/KUDU-2346
> Project: Kudu
> Issue Type: Improvement
> Components: build
> Reporter: Grant Henke
> Assignee: Attila Bukor
> Priority: Major
> Fix For: 1.8.0
>
>
> When running a fresh build on MacOs, thirdparty builds can fail with:
> {code:java}
> ++ pkg-config --cflags openssl
> Package openssl was not found in the pkg-config search path.
> Perhaps you should add the directory containing `openssl.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'openssl' found
> + OPENSSL_CFLAGS={code}
> A know workaround is to set the following:
>
> {code:java}
> export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
> {code}
> We should document or automate this workaround in our builds.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)