LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem installing Tora 2.3.1 in CentOS 5.5 (https://www.linuxquestions.org/questions/linux-software-2/problem-installing-tora-2-3-1-in-centos-5-5-a-875815/)

Felipe 04-19-2011 02:41 AM

Problem installing Tora 2.3.1 in CentOS 5.5
 
Hallo:

I'm trying to install tora-2.1.3-1.el5.i386.rpm on CentOS 5.5.

I've install:
- oracle-instantclient11.2-basic-11.2.0.2.0-1
- qt4-4.2.1-1

When I try to install tora package, I receive this error:

sudo rpm -Uvhi tora-2.1.3-1.el5.i386.rpm
error: Dependencies error:
qt4 >= 4.3.0 needed for tora-2.1.3-1.el5.i386


Can any help me with installation of tora on CenOS 5.5.

Thanks

knudfl 04-19-2011 03:15 AM

Example : qt45-4.5.2 from the "Pramberger repo".

http://www.pramberger.at/peter/services/repository/

ftp://ftp.pramberger.at/systems/linu...ib/rhel5/i386/

Felipe 04-19-2011 08:15 AM

Unable to install:

1- Installed oracle-instantclient and qt

$ rpm -qa | grep oracle
oracle-instantclient11.2-sqlplus-11.2.0.2.0-1
oracle-instantclient11.2-devel-11.2.0.2.0-1
oracle-instantclient11.2-jdbc-11.2.0.2.0-1
oracle-instantclient11.2-odbc-11.2.0.2.0-1
oracle-instantclient11.2-basic-11.2.0.2.0-1

$ rpm -qa | grep qt
qt-3.3.6-23.el5
qt4-4.2.1-1
qt45-4.5.2-1.el5.pp



2- If try to install tora 2.0
$ sudo rpm -Uvhi tora-2.0.0-1.el5.i386.rpm
error: Error de dependencias:
oracle-instantclient-basic se necesita para tora-2.0.0-1.el5.i386


3- I try to install tora 2.1
$ sudo rpm -Uvhi tora-2.1.3-1.el5.i386.rpm
error: Error de dependencias:
qt4 >= 4.3.0 se necesita para tora-2.1.3-1.el5.i386


Any other suggestion?

Thanks

knudfl 04-19-2011 12:26 PM

Quote:

$ sudo rpm -Uvhi tora-2.1.3-1.el5.i386.rpm
error: Error de dependencias:
qt4 >= 4.3.0 se necesita para tora-2.1.3-1.el5.i386
Now that you have a qt4 version 4.5.2, you can do :

# rpm -Uvh --nodeps tora-2.1.3-1.el5.i386.rpm

Felipe 04-20-2011 01:42 AM

Problems go on:

1- Install Tora with depts check:
$ sudo rpm --nodeps -Uvhi tora-2.1.3-1.el5.i386.rpm
Preparando... ########################################### [100%]
1:tora ########################################### [100%]

2- Configure Oracle Variables:
$ export ORACLE_HOME=/usr/lib/oracle/11.2/client
$ export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib
$ export PATH=$PATH:/usr/lib/oracle/11.2/client/bin

3- Test Oracle works:
$ sqlplus

SQL*Plus: Release 11.2.0.2.0 Production on Wed Apr 20 08:33:58 2011

Copyright (c) 1982, 2010, Oracle. All rights reserved.

Enter user-name:


4- Run Tora:

$ tora
tora: symbol lookup error: tora: undefined symbol: _ZN13QMdiSubWindow16staticMetaObjectE



-> Any other suggestion?
-> Nobody has installed Tora 2 on Centos5.5?

Regards.

knudfl 04-20-2011 04:02 PM

The symbol "_ZN13QMdiSubWindow16staticMetaObjectE" seems to be in
qt4-x11-4.3.2-1.fc8. Is only in the older versions : Not in 4.5 or 4.7.

'readelf -s /usr/lib/libQt* | grep _ZN13QMdiSubWindow16staticMetaObjectE'


# yum remove qt4* ( You will have to remove all qt4.)

http://download.fedora.redhat.com/pu...6/os/Packages/
# yum localinstall --nogpgcheck qt4-4.3.2-1.fc8.i386.rpm
# yum localinstall --nogpgcheck qt4-x11-4.3.2-1.fc8.i386.rpm
# yum localinstall --nogpgcheck qt4-sqlite-4.3.2-1.fc8.i386.rpm

Suggest : test tora wth the above.

If you want to build a new tora :
# yum localinstall --nogpgcheck qt4-devel-4.3.2-1.fc8.i386.rpm
( Or the qt45-devel, and again, you can only have one version of qt4 ).

To build a new tora, I used these :
qt45-devel-4.5.2-1.el5.pp.i386.rpm, qt45-sqlite-4.5.2-1.el5.pp.i386.rpm.
'cd tora-2.1.3/ && ./configure && make'
All qt4 : OK.
But the 'make' stopped when the oracle-instantclient11.2-basic-11.2.0.2.0-1
files were required. I don't have that propitiatory package.

..

Felipe 04-21-2011 04:32 PM

You are a BIG GURU!!!!!!.

It has worked. I've followed the steps you have told me. I've installed it in a new virtual machine and it has worked.
This is what I've done:

1 - Download and install Oracle packages:
oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm
oracle-instantclient11.2-jdbc-11.2.0.1.0-1.i386.rpm
oracle-instantclient11.2-odbc-11.2.0.1.0-1.i386.rpm
oracle-instantclient11.2-sqlplus-11.2.0.1.0-1.i386.rpm

2- Set environment variables.
export ORACLE_HOME=/usr/lib/oracle/11.2/client
export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib
export PATH=$PATH:/usr/lib/oracle/11.2/client/bin

3- Create a symbolic link in $LD_LIBRARY_PATH
ln -s libclntsh.so.11.1 libclntsh.so

4- Add the Fedora-RedHat repository to pirut
http://download.fedora.redhat.com/pu...thing/i386/os/

5- Install next packages with pirut (thus, solving dependencies automatically)
qt4-4.3.2-1.fc8.i386.rpm
qt4-sqlite-4.3.2-1.fc8.i386.rpm
qt4-x11-4.3.2-1.fc8.i386.rpm

6- Delete previous added Fedora-RedHat repository from Pirut.
Delete it to avoid new updates and get system unstable.

7- Install tora.
tora-2.1.3-1.el5.i386.rpm

Many, many thanks

knudfl 04-21-2011 09:12 PM

About adding the Fedora 8 repo :

Better disable it again. Or you will get problems with updates.
Only a few Fedora 8 packages will work :
CentOS5 will probably become unusable, if more Fedora packages gets installed.

Felipe 04-24-2011 04:59 PM

OK, after installing, will disable it.

Thanks


All times are GMT -5. The time now is 04:15 PM.