Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.2
-
-
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.