LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2007, 11:19 AM   #1
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Rep: Reputation: 15
plugins for firefox (RHEL 4 x86_64)


Some pluging does not work when I try to open
http://linuxsurvival.com/LinuxSurv1/start-linux.php
with firefox

I am not even sure which pluging this is ...
Could someone help me to fix this problem.

I got RHEL 4, x86_64

Thanks!
 
Old 12-20-2007, 11:54 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You will need the nspluginwrapper packages to use 32-bit plugins (java for one) with firefox 64-bit;

http://gwenole.beauchesne.info/proje...pluginwrapper/

Direct links:

http://gwenole.beauchesne.info/proje...5-1.x86_64.rpm
http://gwenole.beauchesne.info/proje...5-1.x86_64.rpm

Install both at the same time when done downloading;

rpm -Uvh nspluginwrapper*.rpm
 
Old 12-20-2007, 12:01 PM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Or you could just use a 32-bit version of Firefox. You won't notice a difference (except that plugins will work without a wrapper).
 
Old 12-20-2007, 01:17 PM   #4
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lenard View Post
You will need the nspluginwrapper packages to use 32-bit plugins (java for one) with firefox 64-bit;

http://gwenole.beauchesne.info/proje...pluginwrapper/

Direct links:

http://gwenole.beauchesne.info/proje...5-1.x86_64.rpm
http://gwenole.beauchesne.info/proje...5-1.x86_64.rpm

Install both at the same time when done downloading;

rpm -Uvh nspluginwrapper*.rpm
I did install these packages several days ago with no effect ...
 
Old 12-20-2007, 03:15 PM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
OK, then do you have Sun's JDK or JRE installed??? A quick check: rpm -qa jdk jre

If not then see: http://plugindoc.mozdev.org/linux.html#Java

When I click on the Start Module 1 button from your link a java Appelt Window opens.
 
Old 12-20-2007, 05:04 PM   #6
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lenard View Post
OK, then do you have Sun's JDK or JRE installed??? A quick check: rpm -qa jdk jre

If not then see: http://plugindoc.mozdev.org/linux.html#Java

When I click on the Start Module 1 button from your link a java Appelt Window opens.
# rpm -qa jdk jre
#

No system response ... I guess I do not have java.

There are two files https://sdlc6e.sun.com/ECom/EComActi...D84F488FCF9EE3

which one I need ?

jre-6-linux-i586-rpm.bin? or jre-6-linux-i586.bin?

I do not understand the instructions clearly:

1. Install Java Runtime Environment.

How should I do this ???

2. Make a symbolic link to libjavaplugin_oji.so in your Mozilla Plugins directory. Use the copy located in the plugin/i386/ns7 directory of JRE 5.0 or later, or plugin/i386/ns610-gcc32 if you are using JRE 1.4.2.

I do not know what "symbolic link" is and how to make it.


I would appreciate if you ecould provide more detailed description.

Thank you
 
Old 12-20-2007, 07:25 PM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Get the self-extracting jre-6-linux-i586-rpm.bin file. After downloading as root type:

chmod u+x jre-6-linux-i586-rpm.bin
jre-6-linux-i586-rpm.bin
<follow instructions and accept the license>

To make the symbolic link (a pointer to where the real file resides) type;

cd /usr/bin/mozilla/plugins
ln -s /usr/java/jre1.6.0_03/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so
 
Old 12-25-2007, 01:11 PM   #8
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lenard View Post
Get the self-extracting jre-6-linux-i586-rpm.bin file. After downloading as root type:

chmod u+x jre-6-linux-i586-rpm.bin
jre-6-linux-i586-rpm.bin
<follow instructions and accept the license>

To make the symbolic link (a pointer to where the real file resides) type;

cd /usr/bin/mozilla/plugins
ln -s /usr/java/jre1.6.0_03/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so
It seems I installed java. How could I verify if I did this
correctly? Is any java test available?

I am confused about symbolic link part ...
I do not have /usr/bin/mozilla/plugins on my computer,
but I do have /usr/lib/mozilla/plugins and /usr/lib64/mozilla/plugins
directories. In which directory /usr/lib/mozilla/plugins or /usr/lib64/mozilla/plugins should I set up symbolic link?

Thanks,
John
 
Old 12-25-2007, 01:22 PM   #9
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by weibullguy View Post
Or you could just use a 32-bit version of Firefox. You won't notice a difference (except that plugins will work without a wrapper).
How to install correctly a 32-bit version of the firefox browser? DO I need to uninstall an existing 64-bit versions
 
Old 12-25-2007, 03:27 PM   #10
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
If you have a proper x86_64 multilib distro, then just install the 32-bit version of firefox. The 64-bit libraries will be installed in lib64 and the 32-bit libraries will be installed in lib. The 32-bit binary will overwrite the existing 64-bit binary so if you really want to have both, then rename the 64-bit one to something clever like firefox-64 first. You really don't need a 64-bit web browser...it won't make the internet move any faster.
 
Old 12-25-2007, 04:46 PM   #11
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Quote:
Originally Posted by saak.stepi View Post
It seems I installed java. How could I verify if I did this
correctly? Is any java test available?
Open the 32-bit browser and in type in: about plugins

Visit: http://www.java.com/en/download/help/testvm.xml

Quote:
I am confused about symbolic link part ...
I do not have /usr/bin/mozilla/plugins on my computer,
but I do have /usr/lib/mozilla/plugins and /usr/lib64/mozilla/plugins
The symbolic link should go in the /usr/lib/mozilla/plugins directory, it was my mistake typing /usr/bin earlier. Since it seems you may have both installed then if desired remove the 64-bit version;

rpm -e firefox-<version number>.x86_64
 
Old 01-03-2008, 05:18 PM   #12
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lenard View Post
Open the 32-bit browser and in type in: about plugins

Visit: http://www.java.com/en/download/help/testvm.xml



The symbolic link should go in the /usr/lib/mozilla/plugins directory, it was my mistake typing /usr/bin earlier. Since it seems you may have both installed then if desired remove the 64-bit version;

rpm -e firefox-<version number>.x86_64
I did what you suggested, but java does not work by some reason
I have the following version of firefox:
rpm -q firefox
firefox-1.0-12.EL4
 
Old 01-04-2008, 05:20 AM   #13
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Since you are 64-bit you need to know which version of the packages are installed;

rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" firefox

Verify you have the symbolic link in the /usr/lib/mozilla/plugins directory also;

Code:
$ ls -al /usr/lib/mozilla/plugins
total 11640
drwxr-xr-x 2 root root    4096 Dec  9 11:46 .
drwxr-xr-x 3 root root    4096 Dec  9 11:46 ..
-rwxr-xr-x 1 root root 8119784 Nov 20 18:24 libflashplayer.so

lrwxrwxrwx 1 root root      59 Nov 13 13:12 libjavaplugin_oji.so -> /usr/java/jdk1.7.0/jre/plugin/i386/ns7/libjavaplugin_oji.so

-rwxr-xr-x 1 root root  281116 Dec  1 18:41 mplayerplug-in-dvx.so
-rwxr-xr-x 1 root root    1067 Dec  1 18:41 mplayerplug-in-dvx.xpt
-rwxr-xr-x 1 root root  281116 Dec  1 18:41 mplayerplug-in-qt.so
-rwxr-xr-x 1 root root    1067 Dec  1 18:41 mplayerplug-in-qt.xpt
-rwxr-xr-x 1 root root  281116 Dec  1 18:41 mplayerplug-in-rm.so
-rwxr-xr-x 1 root root    1067 Dec  1 18:41 mplayerplug-in-rm.xpt
-rwxr-xr-x 1 root root  281880 Dec  1 18:41 mplayerplug-in.so
-rwxr-xr-x 1 root root  281116 Dec  1 18:41 mplayerplug-in-wmp.so
-rwxr-xr-x 1 root root    1067 Dec  1 18:41 mplayerplug-in-wmp.xpt
-rwxr-xr-x 1 root root    1067 Dec  1 18:41 mplayerplug-in.xpt
-rwxr-xr-x 1 root root 1174408 Sep 11  2003 npjp2_linux_jasper_pthread.so
-rwxr-xr-x 1 root root 1127564 Aug 20 18:28 nppdf.so
 
Old 01-04-2008, 04:22 PM   #14
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lenard View Post
Since you are 64-bit you need to know which version of the packages are installed;

rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" firefox

Verify you have the symbolic link in the /usr/lib/mozilla/plugins directory also;

Code:
$ ls -al /usr/lib/mozilla/plugins
total 11640
drwxr-xr-x 2 root root    4096 Dec  9 11:46 .
drwxr-xr-x 3 root root    4096 Dec  9 11:46 ..
-rwxr-xr-x 1 root root 8119784 Nov 20 18:24 libflashplayer.so

lrwxrwxrwx 1 root root      59 Nov 13 13:12 libjavaplugin_oji.so -> /usr/java/jdk1.7.0/jre/plugin/i386/ns7/libjavaplugin_oji.so

-rwxr-xr-x 1 root root  281116 Dec  1 18:41 mplayerplug-in-dvx.so
-rwxr-xr-x 1 root root    1067 Dec  1 18:41 mplayerplug-in-dvx.xpt
-rwxr-xr-x 1 root root  281116 Dec  1 18:41 mplayerplug-in-qt.so
-rwxr-xr-x 1 root root    1067 Dec  1 18:41 mplayerplug-in-qt.xpt
-rwxr-xr-x 1 root root  281116 Dec  1 18:41 mplayerplug-in-rm.so
-rwxr-xr-x 1 root root    1067 Dec  1 18:41 mplayerplug-in-rm.xpt
-rwxr-xr-x 1 root root  281880 Dec  1 18:41 mplayerplug-in.so
-rwxr-xr-x 1 root root  281116 Dec  1 18:41 mplayerplug-in-wmp.so
-rwxr-xr-x 1 root root    1067 Dec  1 18:41 mplayerplug-in-wmp.xpt
-rwxr-xr-x 1 root root    1067 Dec  1 18:41 mplayerplug-in.xpt
-rwxr-xr-x 1 root root 1174408 Sep 11  2003 npjp2_linux_jasper_pthread.so
-rwxr-xr-x 1 root root 1127564 Aug 20 18:28 nppdf.so
# rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" firefox
firefox-1.0-12.EL4.x86_64



# ls -al /usr/lib/mozilla/plugins
total 8024
drwxr-xr-x 2 root root 4096 Dec 25 13:34 .
drwxr-xr-x 3 root root 4096 Dec 13 2004 ..
-rwxr-xr-x 1 root root 8119784 Nov 20 18:24 libflashplayer.so
lrwxrwxrwx 1 root root 58 Dec 25 13:34 libjavaplugin_oji.so -> /usr/java/jre1.6.0_03/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 40608 Oct 28 2004 nphelix.so
-rwxr-xr-x 1 root root 5086 Oct 28 2004 nphelix.xpt


Somehow mplayerplug files got into /usr/lib64/mozilla/plugins.
This probaly happened automatically when I tried to set up
mplayer manually.



# ls -al /usr/lib64/mozilla/plugins
total 3312
drwxr-xr-x 2 root root 4096 Jan 4 17:09 .
drwxr-xr-x 3 root root 4096 Dec 13 2004 ..
-rwxr-xr-x 1 root root 619380 Dec 2 15:23 mplayerplug-in-dvx.so
-rwxr-xr-x 1 root root 1067 Dec 2 15:23 mplayerplug-in-dvx.xpt
-rwxr-xr-x 1 root root 622300 Dec 2 15:23 mplayerplug-in-qt.so
-rwxr-xr-x 1 root root 1067 Dec 2 15:23 mplayerplug-in-qt.xpt
-rwxr-xr-x 1 root root 622300 Dec 2 15:23 mplayerplug-in-rm.so
-rwxr-xr-x 1 root root 1067 Dec 2 15:23 mplayerplug-in-rm.xpt
-rwxr-xr-x 1 root root 622500 Dec 2 15:23 mplayerplug-in.so
-rwxr-xr-x 1 root root 622292 Dec 2 15:23 mplayerplug-in-wmp.so
-rwxr-xr-x 1 root root 1067 Dec 2 15:23 mplayerplug-in-wmp.xpt
-rwxr-xr-x 1 root root 1067 Dec 2 15:23 mplayerplug-in.xpt
-rwxr-xr-x 1 root root 74688 Dec 13 21:38 npwrapper.libflashplayer.so
-rwxr-xr-x 1 root root 74688 Dec 13 21:38 npwrapper.nphelix.so
lrwxrwxrwx 1 root root 61 Dec 13 21:38 npwrapper.so -> ../../../../usr/lib/nspluginwrapper/x86_64/linux/npwrapper.so


How could I fix this ?
Thanks,
John
 
Old 01-04-2008, 07:29 PM   #15
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You have the 64-bit version of firefox and the mplayer packages installed. If you want the 32-bit packages then remove the 64-bit and install the 32-bit version, you need to specify this.

Example;
yum remove firefox mplayer mplayerplug-in
yum install firefox.i386 mplayer.i386 mplayerplug-in.i386
 
  


Reply



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
Plugins won't load for rhythmbox-0.10.0-8.fc7.x86_64 jhwilliams Fedora 2 05-10-2008 05:48 AM
problem with running windows programs with wine under RHEL 4, x86_64 saak.stepi Linux - Software 1 12-21-2007 04:31 AM
how to install 32 bit firefox on x86_64 RHEL 4 wpyung Red Hat 1 09-10-2007 10:53 AM
Plugins in Fedora5 X86_64 mickeyboa Fedora 1 08-10-2006 06:14 PM
Per-process address space in RHEL x86_64? geezjan Linux - Software 0 04-06-2005 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:04 AM.

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
Open Source Consulting | Domain Registration