Hi, I have big problem with compiling driver for oracle database. I read the documentation [qt-project.org] and I don’t know what I do wrong…
I would like build oci for ubuntu, I download from oracle Instant Client Package – Basic and Instant Client Package – SDK. I unpack this zips to dir /usr/local/oracleinstantclient/. Sdk is in /usr/local/oracleinstantclient/sdk. In next step I create symlink in /usr/local/oracleinstantclient/libclntsh.so (links to libclntsh.so -> libclntsh.so.12.1) and libocci.so -> libocci.so.12.1…
Next I create configuration for dynamic linker /etc/ld.so.conf.d/oracle.conf with path:
/usr/local/oracleinstantclient
and run sudo ldconfig. I set also variable ORACLE_HOME=/usr/local/oracleinstantclient
When I am in directory ~/Qt5.2.1/5.2.1/Src/qtbase/src/plugins/sqldrivers/oci and run
qmake “INCLUDEPATH+=/usr/local/oracleinstantclient/sdk/include” “LIBS+=-L/usr/local/oracleinstantclient” oci.pro
I got Project ERROR: addExclusiveBuilds() requires at least two arguments and I don’t know what is wrong…
Could you help me? :)
↧