Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Linking Openssl isssue in Qt mac OSx

Linking Openssl isssue in Qt mac OSx

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 3 Posters 521 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    iSolve_Tech
    wrote on 21 May 2024, 11:28 last edited by iSolve_Tech
    #1

    BN_bin2bn, referenced from:
    cryptolens_io::v20190401::SignatureVerifier_OpenSSL::set_modulus_base64
    (cryptolens_io::v20190401::basic_Error&, std::__1::basic_string<char, std::__1::char_traits<char>, std::_1::allocator<char>> const&) in SignatureVerifier_OpenSSL.o
    cryptolens_io::v20190401::SignatureVerifier_OpenSSL::set_exponent_base64
    (cryptolens_io::v20190401::basic_Error&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in SignatureVerifier_OpenSSL.o
    _BN_free, referenced from:

    Checking Installation on macOS
    To locate OpenSSL on macOS, you can use the following methods:
    Using Homebrew:
    brew --prefix openssl

    This command will show the installation prefix for OpenSSL if it was installed via Homebrew.
    Locate OpenSSL:
    which openssl

    This command will show the path to the OpenSSL binary that is currently in your PATH.
    Check Version:
    openssl version -a

    This will display detailed information about the OpenSSL version and its configuration.
    Manual Search:
    find /usr/local -name 'openssl*'

    This command searches for directories and files related to OpenSSL within the /usr/local path.
    Example Homebrew Setup
    If you installed OpenSSL via Homebrew, you should see it in a directory like /usr/local/opt/openssl@1.1. Ensure your shell profile includes the correct environment variables:
    export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"
    export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
    export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"

    After updating your shell profile, reload it with:

    source ~/.zshrc # or source ~/.bash_profile

    By ensuring these steps, you should be able to locate and use your OpenSSL directories on macOS, similar to your experience on Windows.

    followed above steps to install openssl from homebrew

    I am getting this issues and throwing linking error while i am doing the make -j in mac OSx platform

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 21 May 2024, 19:04 last edited by
      #2

      Hi,

      Which version of Qt are you trying to build ?
      On which version of macOS ?
      With which version of Xcode ?
      Why do you need OpenSSL on macOS ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply 21 May 2024, 21:06
      0
      • S SGaist
        21 May 2024, 19:04

        Hi,

        Which version of Qt are you trying to build ?
        On which version of macOS ?
        With which version of Xcode ?
        Why do you need OpenSSL on macOS ?

        J Offline
        J Offline
        jeremy_k
        wrote on 21 May 2024, 21:06 last edited by jeremy_k
        #3

        @SGaist said in Linking Openssl isssue in Qt mac OSx:

        Why do you need OpenSSL on macOS ?

        Perhaps not OP's reason, but Apple stopped updating Secure Transport quite a while back. AFAIK, OpenSSL is the only option for TLS 1.3 via QSslSocket and friends on a mac.

        Asking a question about code? http://eel.is/iso-c++/testcase/

        1 Reply Last reply
        0
        • I Offline
          I Offline
          iSolve_Tech
          wrote on 22 May 2024, 11:21 last edited by
          #4

          Hi @SGaist

          QT Version - 6.5.3
          MacOS - 14.4.1 (23E224)Sonoma
          XCode Version - Version 15.2 (15C500b)
          We need openssl for cryptolens authentication login

          1 Reply Last reply
          0
          • I Offline
            I Offline
            iSolve_Tech
            wrote on 29 May 2024, 10:34 last edited by
            #5

            Any Suggestions or Solution related to openssl in macos

            1 Reply Last reply
            0
            • I Offline
              I Offline
              iSolve_Tech
              wrote on 28 Oct 2024, 13:43 last edited by
              #6

              Hi guys still we are facing this issue any useful solutions?

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 28 Oct 2024, 20:30 last edited by
                #7

                Just tested:

                OPENSSL_ROOT_DIR=/opt/homebrew/Cellar/openssl@3/3.3.2 /path_to_src/qt/qtbase/configure --openssl

                and it worked.

                Note that this is with a recent checkout of qtbase.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved