Posts Tagged ‘tora 2.1.1 with oracle 11g’

21
May

tora with oracle support on lucid (ubuntu 10.04 LTS (lucid lynx))

   Posted by: İsmail ÇAKIR    in oracle

first we take rpm packages from
oracle instant client downloads.
you need to download devel, basic, sqlplus packages.
we need alien to convert rpms to deb.
sudo apt-get install alien
convert them to deb packges;
alien -instantclient11.2-basic_11.2.0.1.0-2_i386.rpm
alien oracle-instantclient11.2-devel_11.2.0.1.0-2_i386.rpm
alien oracle-instantclient11.2-sqlplus_11.2.0.1.0-2_i386.rpm

install new deb packages with sudo dpkg -i

download and install the libaio library
libaio, libao-dev
give this commands;

sudo echo "/usr/lib/oracle/11.2/client/lib" > /etc/ld.so.conf.d/oracle.conf
sudo ldconfig
export ORACLE_HOME=/usr/lib/oracle/11.2/client
sudo "export ORACLE_HOME=/usr/lib/oracle/11.2/client" > ~/.bash_profile

take debian package from proturk

wget http://www.proturk.com/downloads/tora_2.1.1-1_i386.deb
sudo dpkg -i tora_2.1.1-1_i386.deb

now you can run tora with /usr/local/tora/bin/tora command.

if it not works probably you dont have qtscintilla or qt4 libraries, install them with synaptic.

if you want to compile by yourself, here is the configure command;
./configure --with-instant-client=/usr/lib/oracle/11.2/client --with-oracle-includes=/usr/include/oracle/11.2/client --with-oracle-libraries=/usr/lib/oracle/11.2/client/lib --with-oci-version=11G

Bookmark and Share
Tags: , , , ,

Tags: , , , ,

Switch to our mobile site