I put instant client in /opt/instantclient_21_9 and then I do:
cmake -DOracle_ROOT=/opt/instantclient_21_9
But building it as a plugin as Michael Smith suggests is probably better,
On Tue, Jul 15, 2025 at 6:24 AM Dr. Kai Behncke via gdal-dev <
gdal-dev@lists.osgeo.org> wrote:
> Dear users,
For compiling gdal with oracle, I build gdal oracle drivers as a plugin to use
with conda compiled gdal. You need the instant client SDK to build.
I build the plugin with
export CXXFLAGS="${CXXFLAGS} -std=c++17 -D_LIBCPP_DISABLE_AVAILABILITY"
mkdir build
cd build
cmake -G "Ninja"
Dear users,
I would like to create gdal with Oracle-support.
I already tried e.g. " cmake .. -DWITH_OCI=ON -DWITH_OCI8=ON -DWITH_ORACLE=ON" but I had no success.
Could anybody give me a hint how to do that please?
Thank you very much, Kai
I
--gemeinnützige GmbH (gGmbH) Behncke