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

OCI plugin does not build for ARM

    XMLWordPrintable

Details

    • macOS
    • 3642ce6e4 (dev), 07dc64974 (6.8), 0983c2dbb (6.7), f1aa9a386 (tqtc/lts-6.5)

    Description

      Qt's Database plugin does not build with Oracle instant client for Mac/ARM. 

      With following configuration:

      ./Qt6.7/configure -debug -c++std c++20 -no-framework -force-debug-info -prefix $HOME/Qt/6.7.2-debug -sql-oci -- -DOracle_LIBRARY=$HOME/ocisdk/libclntsh.dylib -DOracle_INCLUDE_DIR=$HOME/ocisdk/include
      

       

      It complains:
      ld: file not found: @rpath/libnnz.dylib for architecture arm64

      This worked with all x86 instant clients when building for x86. 

       By adding "-L <path to oracle libs>" or remove "-Wl,-flat_namespace,-U,_environ " makes it work.

      Attachments

        1. logs.zip
          22.12 MB
        2. result
          14 kB
        For Gerrit Dashboard: QTBUG-127342
        # Subject Branch Project Status CR V

        Activity

          People

            qtbuildsystem Qt Build System Team
            irfan.omair@digia.com Irfan Omair
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews