The libraries variable wants the actual library not the path to the
libraries, if you point it directly to the oracle lib it should find
it.

On 7 July 2011 04:38, Bruce Adams <[email protected]> wrote:
> Hi,
>   Okay. Is the problem in tests or in the ODBC backend itself?
> I can guess that the ODBC access test might fail for me simply because I am 
> not
> on windows, if it really does mean an M$ Access DB.
>
>
> I was thinking of using ODBC to make m yown test configurations easier but I 
> do
> have the native drivers for postgresql and oracle
> installed (Oracle is the critical one for me). I just haven't been able to
> persaude cmake I have them.
> Perhaps someone could shed light on what I am missing?
>
> Regards,
>
> Bruce.
>
> brucea@:download/soci/src>cmake --debug -DPOSTGRESQL_VERSION:=8.1.23
> -DSOCI_POSTGRESQL:=ON -DSOCI_ORACLE:=ON
> -DORACLE_INCLUDE_DIR:=/usr/include/oracle/10.2.0.4/client
> -DORACLE_LIBRARIES:=/usr/lib/oracle/10.2.0.4/client/lib .
>
> -- Oracle:
> -- WARNING:
> -- Oracle not found, some libraries or features will be disabled.
> -- See the documentation for Oracle or manually set these variables:
> -- ORACLE_INCLUDE_DIR                       =
> /usr/include/oracle/10.2.0.4/client
> -- ORACLE_LIBRARIES                         = ORACLE_OCI_LIBRARY-NOTFOUND
> ORACLE_OCCI_LIBRARY-NOTFOUND ORACLE_NNZ_LIBRARY-NOTFOUND
> --
> -- PostgreSQL:
> -- WARNING:
> -- PostgreSQL not found, some libraries or features will be disabled.
> -- See the documentation for PostgreSQL or manually set these variables:
> -- POSTGRESQL_INCLUDE_DIR                   = POSTGRESQL_INCLUDE_DIR-NOTFOUND
> -- POSTGRESQL_LIBRARIES                     = POSTGRESQL_LIBRARIES-NOTFOUND
> -- POSTGRESQL_VERSION                       = unknown
> [snip]
> -- Oracle - SOCI backend for Oracle 10+
> -- WARNING:
> -- Some required dependencies of Oracle backend not found:
> --    Oracle
> -- Skipping
> -- SOCI_ORACLE                              = OFF
> --
> -- PostgreSQL - SOCI backend for PostgreSQL database engine
> -- WARNING:
> -- Some required dependencies of PostgreSQL backend not found:
> --    PostgreSQL
> -- Skipping
>
> brucea@:download/soci/src>ls /usr/lib/oracle/10.2.0.4/client/lib/
> glogin.sql    libclntsh.so.10.1  libnnz10.so  libocci.so.10.1  libocijdbc10.so
> libsqlplus.so     ojdbc14.jar
> libclntsh.so  libheteroxa10.so   libocci.so   libociei.so      libsqlplusic.so
> libsqora.so.10.1  orai18n.jar
>
> brucea@:download/soci/src>rpm -qa | grep oracle
> oracle-instantclient-sqlplus-10.2.0.4-1
> oracle-instantclient-devel-10.2.0.4-1
> oracle-instantclient-odbc-10.2.0.4-1
> oracle-instantclient-jdbc-10.2.0.4-1
> oracle-instantclient-basic-10.2.0.4-1
>
> brucea@:download/soci/src>postgres --version
> postgres (PostgreSQL) 8.1.23
>
> brucea@:download/soci/src>rpm -qa | grep postgres
> postgresql-8.1.23-1.el5_6.1
> postgresql-server-8.1.23-1.el5_6.1
> postgresql-python-8.1.23-1.el5_6.1
> postgresql-libs-8.1.23-1.el5_6.1
>
>
>
>
> ----- Original Message ----
>> From: Maciej Sobczak <[email protected]>
>> To: General-purpose list for SOCI users. <[email protected]>
>> Sent: Wed, July 6, 2011 9:40:24 PM
>> Subject: Re: [SOCI-users] Test Failures on RHEL5 (was Re:  Questions)
>>
>> On 06/07/2011 17:13, Bruce Adams wrote:
>>
>> > The following tests  FAILED:
>> >            3 -  soci_odbc_test_access (Failed)
>> >             4 - soci_odbc_test_access_static (Failed)
>> >             5 - soci_odbc_test_postgresql (Failed)
>> >             6 - soci_odbc_test_postgresql_static (Failed)
>>
>> This  is why ODBC is not included in the "officially supported" backends.
>> It is  not, however, a reason to stop the release of the remaining  parts.
>>
>> Regards,
>>
>> --
>> Maciej Sobczak * www.msobczak.com * www.inspirel.com
>>
>> ------------------------------------------------------------------------------
>> All  of the data generated in your IT infrastructure is seriously valuable.
>> Why?  It contains a definitive record of application performance, security
>> threats, fraudulent activity, and more. Splunk takes this data and makes
>> sense of it. IT sense. And common  sense.
>> http://p.sf.net/sfu/splunk-d2d-c2
>> _______________________________________________
>> Soci-users  mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/soci-users
>>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to