On Mon, Aug 3, 2009 at 1:30 PM, OpenDBX devel list <
libopendbx-devel@lists.sourceforge.net> wrote:

> Hi Mariano!
>
> It's OK. I declared LD_LIBRARY_PATH and then ran configure with success.


Greate news!!!


> Moreover from the beginning I was trying run configure with sudo, maybe
> that was another  problem (I am quite new on Linux).


Yes, don't do sudo for ./configure, just when doing "sudo make install"
because it has to move the files to /usr/lib  where you need root.



>
>
> Thanks!
>
> Michal
>
> 2009/8/2 OpenDBX devel list <libopendbx-devel@lists.sourceforge.net>
>
>
>>
>> On Sun, Aug 2, 2009 at 6:21 PM, OpenDBX devel list <
>> libopendbx-devel@lists.sourceforge.net> wrote:
>>
>>> Hi,
>>>
>>> I try to compile OpenDBX 1.4.1 on Ubuntu 9.04 with Oracle backend. I have
>>> installed Oracle XE Client (oracle-xe-client_10.2.0.1-1.0_i386.deb) and I
>>> can succesfully connect to my Oracle database using SQLplus. But running
>>>
>>
>> Hi Michal!   You can find some help here:
>> http://www.assembla.com/spaces/Proyecto-Proyecto/documents/cW1J8Mx40r3Rq-eJe5afGb/download/openDBXtutorial_v2.0.pdf
>>
>>
>>> CPPFLAGS="-I/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public"
>>>
>>> LDFLAGS="-L/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib"
>>> ./configure --disable-utils --with-backends="oracle"
>>> ends with error "configure: error: oracle library (clntsh or oci) not
>>> found". This is the contents of
>>> /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib:
>>> libclntsh.so
>>> libclntsh.so.10.1
>>> libheteroxa10.so
>>> libnnz10.so
>>> libocci.so
>>> libocci.so.10.1
>>> libocijdbc10.so
>>> libocixe.so
>>> libsqlplus.so
>>> libsqlplusic.so
>>> libsqora.so.10.1
>>> So what library is missing? Can anybody help me?
>>>
>>
>> This is weird as everything seems to be ok. Things to do/test:
>>
>> 1) Can you do a ls -la to
>> /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib  so that we can see
>> the output ?   (perhaps something with permissions)
>>
>> 2) Can you try to export these variables and try again ?
>>
>> # ORACLE variables*
>> *ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
>> PATH=$PATH:$ORACLE_HOME/bin
>>
>> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib
>> export ORACLE_HOME
>> export ORACLE_SID=XE
>> export PATH
>>
>> export LD_LIBRARY_PATH
>>
>>
>> I really don't know which  of them are necessary but if it works, then we
>> can go one by one and see which one does the trick. I think LD_LIBRARY_PATH
>> can be of help.
>>
>> Let me know what happen!
>>
>> Best,
>>
>> Mariano
>>
>>
>>
>>
>>
>>>
>>> Michal
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> libopendbx-devel mailing list
>>> libopendbx-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
>>> http://www.linuxnetworks.de/doc/index.php/OpenDBX
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> libopendbx-devel mailing list
>> libopendbx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
>> http://www.linuxnetworks.de/doc/index.php/OpenDBX
>>
>>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> libopendbx-devel mailing list
> libopendbx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
> http://www.linuxnetworks.de/doc/index.php/OpenDBX
>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to