LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 06-13-2003, 02:40 PM   #1
Registered User
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Rep: Reputation: 0
Cannot install opera on Red Hat


Hi All,

By installing opera 7.11 on Red Hat 9, I got the error message
Failed Dependencies
libXm.so.2 is needed by opera-7.11-20030515.1

I searched the Web including LinuxQuestions. If I understand right, I need to copy libXm.so.2 to /lib or /usr/lib an then run ldconfig. But this did not help.
When I try ldconfig -p, the libXm.so.2 is in the list. But I get the same error message...
Do I do anything wrong?

Additionally, I can use ldconfig only if I'm logged on on the computer via ssh or telnet. If I try to launch it directly in Terminal, the "bash" says it don't know this command.

Thank you.
 
Old 06-13-2003, 04:15 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Try going through Redhat's installer package programs and find it. If it isn't there go to rpmfind.net and find it there. You may need other files.
 
Old 06-13-2003, 04:47 PM   #3
Registered User
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you! I installed an openmotif package and opera is working now.

Maybe anybody could help me with the second problem - bash?

Last edited by Registered User; 06-13-2003 at 04:49 PM.
 
Old 06-13-2003, 05:13 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
And the bash problem is?
 
Old 06-13-2003, 05:36 PM   #5
Registered User
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I described the bash problem in my first message - I cannot execute some commands,
e.g. ldconfig, when I'm working in Terminal directly on the machine. If I log on via telnet or ssh,
it does work.
 
Old 06-13-2003, 05:43 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Well, ldconfig is located in /sbin which is probably only in root's path. I'm guessing that you are ssh'ing as a regular user but you are root in the terminal. If you su while ssh'ing into the machine then you should be able to execute ldconfig.
 
Old 06-13-2003, 06:03 PM   #7
Registered User
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I'm sorry I don't understand what You mean.
I log on as root both in local Terminal and via ssh.
Here is what I get in Terminal:

[root@pc1 root]# pwd
/root
[root@pc1 root]# ldconfig
bash: ldconfig: command not found
[root@pc1 root]#

And via ssh:

[root@pc1 root]# pwd
/root
[root@pc1 root]# ldconfig
[root@pc1 root]#
 
Old 06-13-2003, 06:25 PM   #8
nuzzy
Member
 
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204

Rep: Reputation: 31
what is the output of "echo $PATH" when you log in?
 
Old 06-13-2003, 06:26 PM   #9
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
When you log in through the terminal what does:

echo $PATH

return?
 
Old 06-14-2003, 02:16 AM   #10
Registered User
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Original Poster
Rep: Reputation: 0
In local Terminal:
/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/user/bin

Ssh:
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

So if I get the root rights with su command, this does not update the $PATH?
 
Old 06-14-2003, 02:29 AM   #11
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I am a bit baffled myself as to why the path is correct via ssh but not through the terminal. Maybe a way to fix this issue is to make sure whenever you use the su command you do it like this:

su -

This way when you become root you will retain all the properties that root should have.
 
Old 06-14-2003, 02:36 AM   #12
Registered User
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you! it works
 
  


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
During Red Hat Linux 9 install: error "No devices found to install Red Hat Linux" rbradtx Linux - Newbie 11 06-25-2010 04:55 PM
Opera & Red hat 8 Sael Linux - Software 4 08-06-2005 07:38 AM
Opera plugin problems Red Hat 9 mikemrh9 Linux - Newbie 3 11-25-2003 11:44 PM
Opera 7.11 and Red Hat 9 deepfrybonanza Linux - Software 5 06-25-2003 08:38 PM
opera browser- red hat 7.3 install ronss Linux - Software 1 08-23-2002 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:28 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration