LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-19-2011, 02:41 AM   #1
Felipe
Member
 
Registered: Oct 2006
Posts: 294

Rep: Reputation: 31
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
 
Old 04-19-2011, 03:15 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,632

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
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/
 
Old 04-19-2011, 08:15 AM   #3
Felipe
Member
 
Registered: Oct 2006
Posts: 294

Original Poster
Rep: Reputation: 31
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
 
Old 04-19-2011, 12:26 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,632

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
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
 
Old 04-20-2011, 01:42 AM   #5
Felipe
Member
 
Registered: Oct 2006
Posts: 294

Original Poster
Rep: Reputation: 31
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.
 
Old 04-20-2011, 04:02 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,632

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
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.

..

Last edited by knudfl; 04-21-2011 at 03:39 AM.
 
Old 04-21-2011, 04:32 PM   #7
Felipe
Member
 
Registered: Oct 2006
Posts: 294

Original Poster
Rep: Reputation: 31
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

Last edited by Felipe; 04-24-2011 at 05:03 PM.
 
Old 04-21-2011, 09:12 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,632

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
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.
 
Old 04-24-2011, 04:59 PM   #9
Felipe
Member
 
Registered: Oct 2006
Posts: 294

Original Poster
Rep: Reputation: 31
OK, after installing, will disable it.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem while installing alsa1.0.23 for centos 5.5 chintubousally Linux - Hardware 3 11-28-2010 01:04 PM
problem while installing alsa1.0.23 for centos 5.5 chintubousally Linux - Software 3 11-27-2010 04:05 PM
Problem installing NS-2 in CentOS 5.0 venkatteshb Linux - Newbie 0 01-04-2008 06:36 AM
Installing TOra 1.3.18 & Qt 3.3.5 on CentOS 4.1 (RHEL 4 U1) box running Oracle 10g R2 dbaxps Linux - Software 2 02-22-2007 08:41 AM
Problem installing Centos 4.3 wrexn Linux - Software 7 07-21-2006 02:13 PM


All times are GMT -5. The time now is 07:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration