LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   firefox/flash player (https://www.linuxquestions.org/questions/linux-newbie-8/firefox-flash-player-333674/)

javb 06-14-2005 10:45 PM

firefox/flash player
 
i have installed kanotix, and im using the firefox that comes with it, downloaded from the repositories, so i want to play flash movies from the web, i need the correct plugin. i downloaded from the web, i tryied to put it in the correct directory.. as i use to do when i used to download the firefox instead of using the installed one.

is anyone out there who has done this before and can help me pleasE? what to do.. why doesnt it work?

other thing, i considered to download the official one from firefox, and i did. but it comes with i kind of wizard (the wizard used to work on SuSe with no problem), i tried to ope it, doing double click, did nothing, i did it from console, and it gave a kind of error with shared gtk libraries, please, some information to give me about this, i will appreciate.

thanks.

tuxrules 06-14-2005 10:50 PM

what exactly did you do???

Post the steps you did to install using CLI...AFAIK installing flash-player is pretty straightforward. Also post the errors you got.

Tux.

Edit: I believe firefox depends on gtk-libraries...not sure which one.

javb 06-14-2005 11:38 PM

1- downloaded the file .tar from macromedia.

2. unziped it.

3. Read the readme file. (i sais i had to put to files in the plugin directory from firefox directory, as i have this installed i didnt know where was it, so i did "find / -name firefox
" to see where this filder may be.

4. i got this :
/usr/bin/firefox
/usr/lib/mozilla-firefox/firefox
/usr/share/knoppix/profile/.mozilla/firefox
/home/javb/.mozilla/firefox

5. i put the file in the plugin folder, from all of them.. just to make sure. :p

6. nothing, my plugin just didnt work, so i decided do downloaded the official version from Debian, and the problem with gtk came.. this is the error:
"
./firefox-installer-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
"
dont know what to do, would like to fix the installed version, and to make gtk wizards to work too.. who knows in future ill need it. x





4.

craigevil 06-14-2005 11:47 PM

Either use Synaptic or apt-get install flashplugin-nonfree and you will be all set.

Or you can :
Installing Flash Plugin
1. Download Flash Player via, http://www.macromedia.com/go/gnavtray_dl_flashpl
2. untar the archive
3. `cd install_flash_player_x_linux`
4. `su`
5. Copy "libflashplayer.so" and "flashplayer.xpt" to the plugins directory at "/usr/lib/firefox/plugins"
6. Restart your web browser



"flashplugin-nonfree"
http://packages.debian.org/cgi-bin/s...ll&release=all

zickner 06-15-2005 12:42 AM

Hi,

in addition you can checkk if the plugin was 'accepted' by firefox: type "about:plugins" as url and see if flash is in there,

Andreas

axobeauvi 06-15-2005 09:46 AM

did you put the files in /usr/lib/browser-plugins/ ?

javb 06-15-2005 01:37 PM

the thing is that i hav 64 bits platform, and the installer is not supported, so i have to use" the coping the file manually" process, i have copied them in this, i did ls -la, and this is what i have.
ls -la /usr/lib/mozilla-firefox/plugins

-rwxrwxrwx 1 root root 856 Jun 15 14:20 flashplayer.xpt
-rwxrwxrwx 2 root root 2096844 Jun 15 14:20 libflashplayer.so
lrwxrwxrwx 1 root root 39 Jun 9 17:11 libjavaplugin.so -> /etc/alternatives/firefox-javaplugin.so


java came installed, and apt-get does not have flash installer on the repositories for debian sid. (kanotix 64)

mmmm doesnt work.

(other thing, an idea of why the installer doesnt work? the gtk problem i mentioned in the threaa?

craigevil 06-15-2005 02:04 PM

Search the Debian package list for GPL Flash , there is a 64bit version.

javb 06-15-2005 05:45 PM

no way, it just doesnt WORK!


what about the problem using the wizard to install the official one from getfirefox.com ? ?

the error when i try the wizard is:

./firefox-installer-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
root@JAVBmobile:/home/javb/firefox-installer#


---- if i get this installed, i mean, working, i can EASYLY get my flash plugin working with no problem..

edong23 06-16-2005 12:19 AM

that error is pretty self explanitory. you need libgtk. if you are using some form of debian (which is what i gather, then apt-get it, however you do that. :) ) but if you cant figure that out download the source from
http://www.gtk.org/download/

and install it. libgtk is a part of gtk. you will likely run into a few more of these if you get that one fixed. same thing though.

javb 06-16-2005 09:29 AM

incredible, but it still doesnt work, i downloaded everything from gtk page, i compiled it, i installed it, i did everything, but still giving me the same error.. i was looking on forums about this problem, and have done other things too..

damn... why is just so hard to start the the simple wizard in other istribution and here not?

(MY FIRST Disilusion of KANOTIx :P)


the error: --> ./firefox-installer-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

mrcheeks 06-16-2005 09:51 AM

Install gtk2 with apt-get, why don't you use apt-get or synaptic?????

edong23 06-17-2005 12:13 AM

hm, still didnt find it huh. try:

locate libgtk-x11
# and see what directory it got installed into. then edit /etc/ld.so.conf to include that directory, and
ldconfig # as root

try that then try the installer. or what he said i dont know though as i dont use debian. everything but it.

axobeauvi 06-17-2005 09:11 AM

so you don't have that file libgtk-x11-2.0.so.0 ?
see if it's another version or not in a normal lib dir
if it is another version try to make a symlink to the one you have

javb 06-17-2005 12:38 PM

edong23


it didnt work.. how come, isnt anybody out there with KANOTIX or UBUNTU that is trying to install firefox?

:p

thanks people who have tried to help.

edong23 06-17-2005 07:31 PM

that is a good point. isnt ubuntu debian based. cant you do like apt-get install firefox/flash or some crap like that. what version of firefox is it? what version of the os is it? and what happens when you let firefox install it. like go to a page like www.weather.com and find the flash animation that yo ucant see casue there is a puzzle piece and click it. if that doesnt work you probably need a newer version of firefox.

craigevil 06-17-2005 07:40 PM

I am running a Debian Sid install using Kanotix on a desktop and laptop, Firefox is my main browser. I updated it and installed all of the plugins using apt-get and /or Synaptic. My system is NOT 64bit however.

Plugins (8)

* Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
* DjVuLibre-3.5.14
* QuickTime Plug-in 6.0, Windows Media Player Plugin are supported by mplayerplug-in
* Shockwave Flash
* MozPlugger 1.7.1
* VLC multimedia plugin
* Adobe Reader 7.0
* Java(TM) Plug-in 1.4.2_06-b03

HellSpawn 06-27-2005 05:58 PM

Quote:

Originally posted by javb
[B]the thing is that i hav 64 bits platform, and the installer is not supported,....]
There you go!!
There is no 64 bit version of Flashplayer for either Linux nor Windows system... Weĺl have to wait... yo can find more info on www.macromedia.com, it would be great if they shared their code ;)

edong23 06-27-2005 06:22 PM

thats what im sayin!! stinjy bastards... ha couldnt spell stinjy stingy stinggy hm that sucks i cant spell!!

HellSpawn 12-11-2005 09:02 AM

--reinstall
 
Quote:

Originally Posted by javb
edong23


it didnt work.. how come, isnt anybody out there with KANOTIX or UBUNTU that is trying to install firefox?

:p

thanks people who have tried to help.

There seems to be some kind of conflict with other libs... I'm not sure of this though... I had this problem and I got it working after this:

Quote:

sudo apt-get install --reinstall ia32-libs ia32-libs-gtk linux32
Still my firefox 32bits crashes sometimes... but I'm not getting any libs problems...

Orange13 05-27-2007 03:15 AM

libgtk-x11-2.0.so not found
 
The people who are giving instructions to just download the libgtk-x11 package are overlooking the fact that the libraries are already installed.
With the AMD 64-bit distribution, the situation is:
In /usr/lib, we find:

ls -l /usr/lib/libgtk-x11*

lrwxrwxrwx 1 root root 26 2007-05-21 18:31 /usr/lib/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.800.20

-rw-r--r-- 1 root root 3296832 2007-03-04 14:12 /usr/lib/libgtk-x11-2.0.so.0.800.20

But firefox still crashes on startup, claiming that it cannot find or load the shared library.

I think that is what you call a bug.

Orange13 06-08-2007 01:35 PM

Firefox and AMD64 blues
 
In message #20, javb recommended this fix:

sudo apt-get install --reinstall ia32-libs ia32-libs-gtk linux32

Alas, it does not work with Debian linux, 4.0r0 AMD64 distribution. I get this:

ROOT: sudo apt-get install --reinstall ia32-libs ia32-libs-gtk linux32
Reading package lists... Done
Building dependency tree... Done
Package ia32-libs-gtk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ia32-libs-gtk has no installation candidate

-------------------------------

Also, I have been reading posts where some guys were saying that I should
just run the 32-bit version of Firefox so that the Macromedia Flash plugin
will work. But when I check the downloads, there is only one "i686" version
of Firefox available from Adobe's web site. I get the same thing no matter whether
I download it with my AMD64 system or an Intel Pentium. But it runs on the Pentium
with Debian 4.0r0 i386, and doesn't on the AMD 64.

I also read where somebody else said that both 32- and 64-bit versions ship in
the same package. If so, how do you determine which one gets installed and run?

Any ideas?
TIA.

Orange13 06-18-2007 03:12 PM

64-Bit flash and 64-bit Firefox
 
Okay, I'm learning more. The Debian 64-bit distribution for AMD64 systems
has both 32-bit and 64-bit libraries.
They are in /usr/lib32 and /usr/lib64.
Then there is a symbolic link from /usr/lib to /usr/lib64.

When trying to run the 32-bit version of Firefox, there is still the
problem that it crashes on startup, complaining that it cannot load
the libraries that it needs. It's looking into the /usr/lib32 directory
and not finding what it needs. Nor does it find them in the firefox
subdirectory.

Because I have another computer that is a P4 32-bit system
with current release 4.0r0 Debian, I can copy missing libraries
over to /usr/lib32.
Unfortunately, the list of missing libraries is huge.
First there are 6 libraries that need to go into the Firefox subdirectory:
libmozjs.so
libxpcom.so
libxpcom_core.so
libplds4.so
libplc4.so
libnspr4.so
then I had to creat symbolic links in /usr/lib32 to point to those libraries
in /opt/firefox... (where I put my copy of firefox).
Each time I fix one, Firefox stops complaining about that one being missing
and complains about the next one when I try to run Firefox again.
I've done 13 more that go into /usr/lib32: libgtk-x11... libgdk-x11... libatk...
and so on. I don't know how much of the 32-bit X11 system I'll have to import
to get Firefox to run in 32-bit mode.

There must be another way, or an easier way...

By the way, the wrapper didn't help any. That is, nspluginwrapper-0.9.91.4
It allows the 32-bit plugins like Flash to load into 64-bit Firefox, but they
still don't work, and don't show any movies.

jeffguy 10-15-2007 09:59 AM

AMD64 Linux HOWTO:Firefox+Java+Flash
 
I had trouble getting my AMD64 box to run firefox with the java and flash plugins. I found SwiftWeasel buggy. It would crash sometimes at gokgs.com.

When I eventually succeeded, the final process was too easy. I couldn't believe I'd spent so much time searching for it. May you find it easy, too. (I'm not at home, so please read and understand the instructions before running them, in case I left out something small, like unzipping a file)

Section 0: Setup
Step 1: Find your lib directory(s)
Figure out where your lib directories are. On my machine I have /usr/lib, /usr/lib32, and /usr/lib64. By running 'ls -l /usr' I find that /usr/lib is a link pointing to /usr/lib64, meaning the two are really the same directory. So I have two lib directories: /usr/lib and /usr/lib32. Just to be sure, I'm going to install my library files in both. In the install-java-plugin section, when you see me do something with /usr/lib and /usr/lib32, substitute your one-or-more lib directories.

Step 2: Make an installation directory
mkdir a directory where you will put firefox and the plugins
e.g. mkdir ~/Documents/firefox
I'll call this directory $FIREFOX_HOME.


Section 1: Download
Step 1: Firefox
http://www.mozilla.com/en-US/firefox/
Click Download Now.
Find the file. mv it to $FIREFOX_HOME.

Step 2: Flash
http://www.adobe.com/products/flashplayer/
Click Download Now.
Click Download .tar.gz file.

Step 3: Java Plugin
https://addons.mozilla.org/en-US/firefox/browse/
Click Plugins.
Under Java, click Install now.
Click Free Java Download.
Click Linux (self-extracting file)
Find the file. mv it to $FIREFOX_HOME

Section 2: Extract
Step 1: Firefox
cd $FIREFOX_HOME
tar zxf downloadFileName.tar.gz
rm downloadFileName.tar.gz

Step 2: Flash
cd $FIREFOX_HOME
tar zxf install_flash_player_9_linux.tar.gz
rm install_flash_player_9_linux.tar.gz

Step 3: Java Plugin
cd $FIREFOX_HOME
sh jre-6u3-linux-i586.bin
[read and accept user agreement]

Section 3: Install
Step 0 (optional?): I didn't want anything to interfere with proper installation, so before installing, I used 'apt-get remove' to remove anything I could find related to mozilla, firefox, or plugins for either. I then used 'sudo updatedb' and 'locate' to remove all remaining files related to either (of course, I did not remove any files from $FIREFOX_HOME)

Step 1: Firefox
cd $FIREFOX_HOME/firefox
mv firefox firefox.bak #This is to get rid of the 64-bit version of Fx.
sudo ln -s `pwd`/firefox-bin /usr/bin/firefox #This links the 32-bit version into your path
(Optional): Add icon into your "start menu" or "quicklaunch bar". Alternatively, you can run firefox from a terminal with the simple command: firefox

Step 2: Flash
cd $FIREFOX_HOME/install_flash_player_9_linux
ln -s `pwd`/libflashplayer.so ~/.mozilla/plugins
ln -s `pwd`/flashplayer.xpt ~/.mozilla/plugins

Step 3: Java
cd $FIREFOX_HOME/jre1.6.0_03
ln -s `pwd`/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins
cd lib/i386
for x in *.so; do ln -s `pwd`/$x /usr/lib; ln -s `pwd`/$x /usr/lib2;done #This links the relevant libraries into your library path so they can be found.

Section 4: Test
At a command line, run
firefox
Navigate to
about:plugins
The two plugins should appear in the resultant page. :-)

HellSpawn 10-15-2007 10:59 AM

Quote:

Originally Posted by jeffguy (Post 2924850)


Section 1: Download
Step 1: Firefox
http://www.mozilla.com/en-US/firefox/
Click Download Now.
Find the file. mv it to $FIREFOX_HOME.

Correct me if I'm wrong... but That will be for running firefox 32 bits.

The original problem/idea was to run Firefox 64bit with 32bit version pluggin of Flash.

jeffguy 10-15-2007 11:09 PM

Firefox 32bit + flash + java
 
Hellspawn,
Correct -- That'll get you 32-bit Firefox with the two plugins. I'm pretty new to Linux, so getting something that simple was *very* complex for me. And I could not find a HOWTO anywhere that dealt with getting 32-bit Firefox on AMD64 linux, or with installing the plugins on that.

Please feel free to direct me to a thread more appropriate for my post.

Thanks!
Jeff

HellSpawn 10-16-2007 07:12 AM

I'm quoteing from another forum (I don't remember if the rules let me link to other forum sites)

The trick is to use a wrapper that let you run 32bit pluggins with 64bit Firfox:

Quote:

Originally Posted by nlogax (Post 2072904)
I have just installed this and it works very well (although it does cause Epiphany to freeze, necessitating 'sudo pkill npviewer.bin' to restore it).

I have amended the instructions slightly, as follows:

1. Linked to newer versions of nspluginwrapper
2. Removed creation of the symbolic link to /usr/bin/nspluginwrapper as it already existed after I installed the .debs
3. added instructions to make it work on Epiphany.


Fetching the prerequisites

1. Get the Mandrake nspluginwrapper packages (both are required)

nspluginwrapper plugin
nspluginwrapper viewer


2. Get Flash 9 from Adobe

Download Flashplayer installer


3. Unpack the installer, and locate the libflashplayer.so file


Quote:
e.g. tar xvfz install_flash_player_9_linux.tar.gz



4. Install the 32 bit wrapper (linux32), IA32 libraries and the package conversion tool (alien)

Quote:
sudo apt-get install linux32 alien ia32-libs lib32asound2 lib32ncurses5 ia32-libs-sdl ia32-libs-gtk gsfonts gsfonts-x11


5. Proceed with installation for Mozilla-based browsers

Quote:
sudo alien -d nspluginwrapper*.rpm
sudo dpkg -i nspluginwrapper*.deb
sudo mkdir /usr/lib/mozilla/plugins32
sudo cp {path to}/libflashplayer.so /usr/lib/mozilla/plugins32
sudo nspluginwrapper -i /usr/lib/mozilla/plugins32/libflashplayer.so


6. Making the plugin available for Firefox

Quote:
sudo ln -s /usr/lib/mozilla/plugins/npwrapper.so /usr/lib/mozilla-firefox/plugins/
sudo ln -s /usr/lib/mozilla/plugins/npwrapper.libflashplayer. so /usr/lib/mozilla-firefox/plugins/


7. ...and for Epiphany

Quote:
sudo ln -s /usr/lib/mozilla/plugins/npwrapper.so /usr/lib/epiphany/2.16/plugins/
sudo ln -s /usr/lib/mozilla/plugins/npwrapper.libflashplayer. so /usr/lib/epiphany/2.16/plugins/


Orange13 10-16-2007 11:56 PM

Flash doesn't work
 
message deleted, pending further testing.


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