Posts Tagged ‘tora 2.1.1 with oracle 11g’
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 oracle-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 tora 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
Tags: oracle, oracle instant client, tora, tora 2.1.1 with oracle 11g, tora with oracle