Grant Henke created KUDU-2346:
---------------------------------

             Summary: 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


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)

Reply via email to