LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 08-30-2009, 04:22 PM   #1
bowbalitic
Member
 
Registered: Feb 2008
Location: Wadsworth, Ohio
Distribution: Windows xp pro 64 and 32,Gentoo, archlinux
Posts: 62

Rep: Reputation: 15
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.
 
Old 08-30-2009, 04:58 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,165
Blog Entries: 4

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
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).
 
Old 08-31-2009, 05:23 PM   #3
bowbalitic
Member
 
Registered: Feb 2008
Location: Wadsworth, Ohio
Distribution: Windows xp pro 64 and 32,Gentoo, archlinux
Posts: 62

Original Poster
Rep: Reputation: 15
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.
 
Old 08-31-2009, 05:35 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,688
Blog Entries: 51

Rep: Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239
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.
 
Old 08-31-2009, 05:38 PM   #5
bowbalitic
Member
 
Registered: Feb 2008
Location: Wadsworth, Ohio
Distribution: Windows xp pro 64 and 32,Gentoo, archlinux
Posts: 62

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

Last edited by bowbalitic; 08-31-2009 at 05:40 PM.
 
Old 08-31-2009, 05:39 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,165
Blog Entries: 4

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
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.
 
Old 08-31-2009, 06:04 PM   #7
bowbalitic
Member
 
Registered: Feb 2008
Location: Wadsworth, Ohio
Distribution: Windows xp pro 64 and 32,Gentoo, archlinux
Posts: 62

Original Poster
Rep: Reputation: 15
:p

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

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?

Last edited by bowbalitic; 08-31-2009 at 06:18 PM. Reason: *can't always trust spell check lol*
 
Old 08-31-2009, 07:03 PM   #8
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Alsip, IL
Distribution: Bodhi and Maemo
Posts: 297

Rep: Reputation: 33
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
 
Old 08-31-2009, 08:23 PM   #9
bowbalitic
Member
 
Registered: Feb 2008
Location: Wadsworth, Ohio
Distribution: Windows xp pro 64 and 32,Gentoo, archlinux
Posts: 62

Original Poster
Rep: Reputation: 15
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 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.
 
Old 08-31-2009, 08:32 PM   #10
bowbalitic
Member
 
Registered: Feb 2008
Location: Wadsworth, Ohio
Distribution: Windows xp pro 64 and 32,Gentoo, archlinux
Posts: 62

Original Poster
Rep: Reputation: 15
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.
 
Old 08-31-2009, 08:43 PM   #11
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Alsip, IL
Distribution: Bodhi and Maemo
Posts: 297

Rep: Reputation: 33
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

Last edited by Jeff91; 08-31-2009 at 08:45 PM.
 
Old 08-31-2009, 08:50 PM   #12
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Alsip, IL
Distribution: Bodhi and Maemo
Posts: 297

Rep: Reputation: 33
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
 
  


Reply

Tags
player, shockwave, shutdown


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox + wine + shockwave = youtube videos and more sonichedgehog LinuxQuestions.org Member Success Stories 1 09-05-2008 07:41 PM
Playing Shockwave and Quicktime Movies on Firefox rschmiegelt Linux - Desktop 2 11-25-2006 08:37 AM
firefox and shockwave flash dannyk1 Linux - Software 3 06-28-2005 05:17 AM
Mozilla Firefox + Shockwave/Flash chrisk5527 Linux - General 22 04-03-2005 11:15 PM
shockwave on Firefox murray_linux Slackware 7 05-03-2004 03:59 PM


All times are GMT -5. The time now is 06:22 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