Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2346

Document or fix mac pkg-config/PKG_CONFIG_PATH issue

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8.0
    • build
    • None

    Description

      When running a fresh build on MacOs, thirdparty builds can fail with:

      ++ 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=

      A know workaround is to set the following:

       

      export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
      

      We should document or automate this workaround in our builds. 

      Attachments

        Activity

          People

            abukor Attila Bukor
            granthenke Grant Henke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: