Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-125252

[Reg 6.2.12 -> 6.5.5+][macOS][Pre-built] Qt OPC UA's plugin cannot be loaded because it depends on a specific copy of OpenSSL

    XMLWordPrintable

Details

    • macOS
    • 0149acd42 (dev), a9dfa0737 (6.8)

    Description

      libopen62541_backend.dylib now specifically searches for /usr/local/openssl-3.0.7/lib/lib*.3.dylib. Consequently, it cannot be loaded on most users' machines.

       
      Tests

      otool -L ~/Qt/6.2.12/macos/plugins/opcua/libopen62541_backend.dylib

      /Users/USER/Qt/6.2.12/macos/plugins/opcua/libopen62541_backend.dylib (architecture x86_64):
      	@rpath/QtOpcUa.framework/Versions/A/QtOpcUa (compatibility version 6.0.0, current version 6.2.12)
      	@rpath/QtNetwork.framework/Versions/A/QtNetwork (compatibility version 6.0.0, current version 6.2.12)
      	@rpath/QtCore.framework/Versions/A/QtCore (compatibility version 6.0.0, current version 6.2.12)
      	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
      	/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
      	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.36.0)
      	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
      

       

      otool -L ~/Qt/6.5.5/macos/plugins/opcua/libopen62541_backend.dylib

      /Users/USER/Qt/6.5.5/macos/plugins/opcua/libopen62541_backend.dylib (architecture x86_64):
      	@rpath/QtOpcUa.framework/Versions/A/QtOpcUa (compatibility version 6.0.0, current version 6.5.5)
      	@rpath/QtNetwork.framework/Versions/A/QtNetwork (compatibility version 6.0.0, current version 6.5.5)
      	@rpath/QtCore.framework/Versions/A/QtCore (compatibility version 6.0.0, current version 6.5.5)
      	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
      	/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
      	/usr/local/openssl-3.0.7/lib/libssl.3.dylib (compatibility version 3.0.0, current version 3.0.0)
      	/usr/local/openssl-3.0.7/lib/libcrypto.3.dylib (compatibility version 3.0.0, current version 3.0.0)
      	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.36.0)
      	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
      

       

      otool -L ~/Qt/6.7.0/macos/plugins/opcua/libopen62541_backend.dylib

      /Users/USER/Qt/6.7.0/macos/plugins/opcua/libopen62541_backend.dylib (architecture x86_64):
      	@rpath/QtOpcUa.framework/Versions/A/QtOpcUa (compatibility version 6.0.0, current version 6.7.0)
      	@rpath/QtNetwork.framework/Versions/A/QtNetwork (compatibility version 6.0.0, current version 6.7.0)
      	@rpath/QtCore.framework/Versions/A/QtCore (compatibility version 6.0.0, current version 6.7.0)
      	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
      	/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
      	/usr/local/openssl-3.0.7/lib/libssl.3.dylib (compatibility version 3.0.0, current version 3.0.0)
      	/usr/local/openssl-3.0.7/lib/libcrypto.3.dylib (compatibility version 3.0.0, current version 3.0.0)
      	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.36.0)
      	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              janihe Jani Heikkinen
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change