Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3555

'configure' script does not honor --with-openssl=<path> for libcrypto for BN_init

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.3
    • Fix Version/s: 0.10.0
    • Component/s: Build Process
    • Labels:
      None

      Description

      When running the 'configure' script to set up the thrift build environment, the path supplied to the 'with-openssl=<path>' option is not honored for all tests within the script where libcrypto is required.

      For the first part of the script the path is indeed honored. For example, at line 17316 ("checking whether compiling and linking against OpenSSL works") it can be easily validated (via strace and/or bash script debugging) that the correct user-supplied path to a particular OpenSSL library is being used.

      However, later in the script, at line 23292 ("checking for BN_init in -lcrypto...") this is not the case. Again this can readily verified (via strace and/or bash script debugging) that the user supplied path is skipped entirely, and only the O/S system-defined default library paths are searched for libcrypto.

        Attachments

          Activity

            People

            • Assignee:
              nsuke Nobuaki Sukegawa
              Reporter:
              pbutler@sonusnet.com Peter Butler
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: