[Qt-interest] Fwd: OCI driver can not be loaded

Nikos Gerontidis geronik444 at gmail.com
Fri Jul 2 11:47:58 CEST 2010


---------- Forwarded message ----------
From: J-P Nurmi <jpnurmi at gmail.com>
Date: Thu, Jul 1, 2010 at 3:38 PM
Subject: Re: [Qt-interest] OCI driver can not be loaded
To: Qt-interest <qt-interest at trolltech.com>


On Thu, Jul 1, 2010 at 3:11 PM, Gian Marco Gallo
<gianmarco.gallo at gmail.com> wrote:
> I've solved following the second method:
>
> If you wish to build the OCI plugin manually with this method the
procedure
> looks like this:
>
>  cd $QTDIR/src/plugins/sqldrivers/oci
>  qmake "INCLUDEPATH+=/usr/include/oracle/10.1.0.3/client"
> "LIBS+=-L/usr/lib/oracle/10.1.0.3/client/lib
> -Wl,-rpath,/usr/lib/oracle/10.1.0.3/client/lib -lclntsh -lnnz10" oci.pro
>
>  make

Then perhaps setting QT_DEBUG_PLUGINS reveals something?

http://doc.qt.nokia.com/4.6/deployment-plugins.html#debugging-plugins

--
J-P Nurmi
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest

My problem solved after doing the following :
1. make a symbolic link ln libclntsh.so.11.1 libclntsh.so ( because was a
problem in the compiling process )
2  rebuild the plugin
3 set LD_LIBRARY_PATH to /path/to/oracle/instantclient/lib

-- 
Best Regards
Nikos Gerontidis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100702/a930e2a3/attachment.html 


More information about the Qt-interest-old mailing list