LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Firefox shockwave issues (http://www.linuxquestions.org/questions/linux-general-1/firefox-shockwave-issues-751326/)

bowbalitic 08-30-2009 05:22 PM

Firefox shockwave issues
 
I'm running Ultimate Edition 64bit on my computer (based off of ubuntu) and I have been having problems with flash websites since I installed it. For instance, Pandora.com, with the default player (I forgot its name, but its the one with the grey box that you have to click on to start) Pandora was saying it wasn't couldn't read my information and wouldn't load past 32%. So I installed shock-wave using this code

wget http://queleimporta.com/downloads/flash10_x64_en.sh && sudo chmod +x flash10_x64_en.sh && sudo sh ./flash10_x64_en.sh

from this website

http://queleimporta.com/en/finally-a...-10-for-linux/

Now that shock-wave is installed, any web page with flash on it will immediately shut down fire fox without warning. I know that it is the shock wave player because when I disable it (shock-wave) the page loads without the flash.

I've looked for a way to remove shockwave, unfortunately, all the other threads and websites suggest deleting the plugins folder under .mozilla folder, and I don't have the plugins folder. I'm assuming that the code I used earlier installed it somewhere else and I can't really tell by looking at it.

I appreciate all of your help, and I'm hoping that you can help me uninstall the shockwave player and properly install a 64bit flashplayer. I cant really switch to a 32 bit os because I'm running 8gb of ram with a 2gb graphics card so I would be wasting more than half of my resources if I used 32bit thanks for your help.

XavierP 08-30-2009 05:58 PM

It would appear that you have installed it to the global directory rather than your home directory. No big deal, just go to /usr/lib/firefox/plugins and delete the file libflashplayer.so What happens if you follow these instructions:
Code:

tar zxvf libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

(Where they write mozilla, try switching that to firefox).

bowbalitic 08-31-2009 06:23 PM

Ok, so this is for the first code

james@james-desktop:~$ tar zxvf libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz
tar: libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

and the second

james@james-desktop:~$ sudo cp libflashplayer.so /usr/lib/firefox/plugins/
cp: cannot stat `libflashplayer.so': No such file or directory


I followed the directory /usr/lib/firefox/plugins/
and there were a bunch of mplayer plugins, no libflashplayer plugins. I'm wondering if that is because I have it disabled. I'll check that now and post back.


I'm curious though if libflashplayer doesn't show up after enabling it should I simply unpack the tar file into this folder instead of the mozilla folder?

Thanks for your help.

brianL 08-31-2009 06:35 PM

I had Ubuntu 9.04 x86_64 version on a while ago, and put libflashplayer.so in /usr/lib64/firefox-addons/plugins, and it worked OK.

bowbalitic 08-31-2009 06:38 PM

Ok, so I enabled it and it didn't change anything.

BUT... I did some looking and I did find the libflashplayer.so under
/usr/lib64/firefox-3.0.13/plugins
My question is though, why is it the only plugin in this folder?
Does firefox read from both folders?

EDIT.
So this is the correct location, but firefox is still shutting down on any page with flash. I'll delete the libflashplayer.so and try to unpack it again and see if that fixes it.

XavierP 08-31-2009 06:39 PM

Looking at the script, it automates a batch of simple commands:
Code:

wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz - grabs the tarball, equivalent to just downloading the tar ball from www.adobe.com
tar zxvf install_flash_player_10_linux.tar.gz - untars the tarball
sudo cp install_flash_player_10_linux/libflashplayer.so /usr/lib/mozilla/plugins/ - copies the file over to the plugins directory
sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so - I believe this links the flash player to the the plugin wrapper to enable 64 bit compatibility

sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/        } Links the
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/ } libraries

One thing I do notice is that after untarring the file, the command to cd into the new directory that is created from the tarball to copy over the file to the plugin directory. So after untarring the file, cd into the new directory to copy the file over.

bowbalitic 08-31-2009 07:04 PM

:p
 
I'm not really failure *familiar* with code unfortunately :p

but before your post I noticed that there was a firefox folder in the same directory

/usr/lib64/firefox
instead of /usr/lib64/firefox-3.0.13

so I think that the code I used to install libflashplayer.so created the firefox-3.0.13

When I try to use archive manager to add libflashplayer.so into the firefox plugins folder (which has a bunch of other plugins) I get a "you do not have permission..." so should I still try your code? Or does this change things?

Jeff91 08-31-2009 08:03 PM

Might I suggest simply adding the medibuntu repos - https://help.ubuntu.com/community/Medibuntu

And then letting them install flash for you via synaptic? Works like a charm on my 64bit Ubuntu.

~Jeff

bowbalitic 08-31-2009 09:23 PM

Hmmm... that looks interesting and I might try that out later. I appreciate the reference but as of now all this annoying stuff is also a learning experience so for now I'd like to the annoying and complicated method :p Thanks though, I will probably end up passing that around later on though.

With that said, if the rest of you will bare with me a little longer that would be great. :)

bowbalitic 08-31-2009 09:32 PM

So I can't manually delete the current libflashplayer.so from the firefox-3.0.13, (by manually I mean going to the folder in gui and clicking delete.) It says there was an error deleting and that's all the information it gives. I guess I can assume that it is protected and that there is some other way to remove it right?

Also, I am still unable to use the archive manager to unpack the .so file into the firefox folder.

Should I use the code given by XavierP? Nothing against you XavierP It's just that I brought up some stuff since you posted the code and I would like the O.K. that its still good to go.

Jeff91 08-31-2009 09:43 PM

To manually remove the file from a gui open the file manager with this command -
Code:

gksudo nautilus
- be forewarned though this is a super user GUI and can remove ANY system files, so be careful ;)

Or to remove just ur target file via terminal
Code:

sudo rm /path/to/file
EDIT: Also why is this thread labeled shockwave? Shockwave does not have a native Nix installer as of yet and this is clearly about flash :P

~Jeff

Jeff91 08-31-2009 09:50 PM

Also I found this script that shows all the commands for installing flash10 "the hard way"

Code:

#!/bin/bash
# Script  created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
# Super minor updates by jason.melton[at]gmail[dot]com
# Updates by Alejandro Cuervo 3[at]cuervo[dot]net
# Released under GPL

echo "Closing Firefox"
sudo killall -9 firefox

echo "Downloading and instaling Getlibs for required libraries"
wget http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb
sudo dpkg -i getlibs-all.deb

echo "Removing previous installs of flash:"
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper

echo "Installing ia32-libs and nspluginwrapper"
sudo apt-get install ia32-libs nspluginwrapper

echo "Getting libs"
sudo getlibs -p libcurl3
sudo getlibs -p libnss3-1d
sudo getlibs -p libnspr4-0d

echo "Installing Flash Player 10"
cd ~
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
tar zxvf install_flash_player_10_linux.tar.gz
sudo cp install_flash_player_10_linux/libflashplayer.so /usr/lib/mozilla/plugins/
rm -rf ~/install_flash_player_10_linux/
sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so

echo "Linking the libraries so that firefox can see them."
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/

echo "Done :-)"
echo "You may re-start Firefox now"

Source - http://www.cyberciti.biz/tips/instal...nux-64bit.html

~Jeff


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