All | 43 Folders | Accessibility | BoingBoing | Books | Computer Related | Family | Films | General | Hacking | Hobbies | Humor | Java | Links | Omni | OpenSolaris | Puzzles and Games

« Christmas Letter... | Main | Runescape - Online... »
20061206 Wednesday December 06, 2006

Flash Not Working With Firefox On 64-bit Ubuntu Edgy

For everything that I currently use a Windows or a Mac OS X computer for, I'm trying to get similar functionality running on my Acer Ferrari 64-bit laptop, under Ubuntu Edgy.

The latest thing I'm trying to get working is a Flash plugin inside Firefox.

I googled around and found a mini-HOWTO buried in a Ubuntu Forum post (thanks mikeyrb).

I downloaded the nspluginwrapper RPM's for the plugin and the viewer

I ran:

  % sudo apt-get install linux32

because another comment on another related Ubuntu forum post said you needed to do this, as linux32 is a binary that nspluginwrapper depends on.

I installed alien

  % sudo apt-get install alien

and converted the downloaded rpm's to deb's:

  % sudo alien -d *.rpm

(I didn't worry about the postinstall scripts not being converted -- i.e. no --scripts option).

I installed the newly created debs (in this order):

  % sudo dpkg -i  nspluginwrapper-i386_0.9.90.4-2_amd64.deb
  % sudo dpkg -i nspluginwrapper_0.9.90.4-2_amd64.deb

I downloaded the Flash plugin .tar.gz bundle from here and unpacked it to get to the libflashplayer.so

I copied the libflashplayer.so plugin to ~/.mozilla/plugins.

  % cd .../install_flash_player_7_linux
  % sudo cp libflashplayer.so ~/.mozilla/plugins

I got nsplugwrapper npconfig program to make the new plugin:

  % /usr/lib/nspluginwrapper/x86_64/npconfig -v -a -i

  ...
  Looking for plugins in /home/richb/.mozilla/plugins
  Install plugin /home/richb/.mozilla/plugins/libflashplayer.so
  into /home/richb/.mozilla/plugins/npwrapper.libflashplayer.so

When I restarted Firefox and did "about:plugins" I got:

  Netscape 4 Plugins Wrapper

    File name: npwrapper.so
    nspluginwrapper 0.9.90.4 adds support for i386 compiled Netscape 4 plugins.
    This is beta software available under the terms of the GNU General
    Public License.
  
  MIME Type             Description     Suffixes   Enabled
  unknown/mime-type     Do not open     none       Yes

which doesn't look right.

As a double check, when I try it at http://www.youtube.com and http://www.flash.com and it didn't work.

The contents of my ~/.mozilla/plugins directory looks like:

$ ls -l
total 2164
-rwxr-xr-x 1 richb richb 2158864 2006-12-06 17:58 libflashplayer.so
-rwx------ 1 richb richb   44320 2006-12-06 18:55 npwrapper.libflashplayer.so
lrwxrwxrwx 1 richb richb      55 2006-12-06 18:04 npwrapper.so -> ../../../../usr/lib/nspluginwrapper/x86_64/npwrapper.so

This is with:

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)

should that make a difference.

If anybody has any ideas where I'm going wrong, it would be very much appreciated. Update:
Thanks to everybody who commented it. The winner is Craig Keogh, who writes:

"Rich, I had exact same problem as you. You need to install the 32bit libraries.

  % sudo apt-get install ia32-libs lib32asound2 lib32ncurses5 ia32-libs-sdl ia32-libs-gtk gsfonts gsfonts-x11 linux32 
See this howto but the howto forgets to tell you install the 32bit libraries. 'artik', reply #19, provides the details."

I did this, and restarted Firefox, and now when I do "about:plugins" I get:

Shockwave Flash

    File name: npwrapper.libflashplayer.so
    Shockwave Flash 7.0 r69

MIME Type                       Description             Suffixes   Enabled
application/x-shockwave-flash   Shockwave Flash         swf        Yes
application/futuresplash        FutureSplash Player     spl        Yes

and I can happily watch YouTube. Excellent.

[]

[]

[]

( Dec 06 2006, 07:25:25 PM PST ) [Listen] Permalink Comments [11]

Comments:

Well, according to nspluginwrapper's web site, only the Flash Player 7 is supported "reasonably well". I don't know how old that information is. Personally, I do without the plugin on 64-bit Debian, and for watching Youtube videos I use this user script for Greasemonkey in combination with the Mplayer mozilla plugin.

Posted by Andrew on December 06, 2006 at 07:57 PM PST #

Thanks Andrew. I'm definitely using Flash 7. I'll try to setup Greasemonkey and the YouTube script tomorrow.

Posted by Rich Burridge on December 06, 2006 at 08:37 PM PST #

What about Flash Player 9 (beta) for Linux? I'm not sure if it runs on a 64bit box, but maybe it's worth a try. http://labs.adobe.com/downloads/flashplayer9.html Cheers, Antonio

Posted by Antonio on December 07, 2006 at 12:23 AM PST #

You could try $ linux32 firefox That does some trickery. You may also need to install libc6-i386. Note, I haven't actually tried making flash work under firefox on x86_64 but I have been doing some playing with running 32bit binaries on 64bit installs.

Posted by Niall on December 07, 2006 at 02:03 AM PST #

Use this wizzard: http://home.comcast.net/~next/base-plugins-browsers-0-6.tar.gz It will install 32-bit browser with flash, java and mplayer plugins. But make sure you unpack it on the desktop, otherwise it doesn't work for me. I don't know why. Also make sure your Synaptic Package Manager is not running. Regards.

Posted by danijel on December 07, 2006 at 06:05 AM PST #

Thanks everyone. I'll try out some of these ideas over the weekend.

Posted by Rich Burridge on December 07, 2006 at 03:59 PM PST #

Rich, I had exact same problem as you. You need to install the 32bit libraries. sudo apt-get install ia32-libs lib32asound2 lib32ncurses5 ia32-libs-sdl ia32-libs-gtk gsfonts gsfonts-x11 linux32 See this howto: http://ubuntuforums.org/showthread.php?t=290785 but the howto forgets to tell you install the 32bit libraries. 'artik', reply #19, provides the details: http://ubuntuforums.org/showpost.php?p=1780371&postcount=19

Posted by Craig Keogh on December 07, 2006 at 08:34 PM PST #

Craig. That was exactly it! Thanks. I'll update the blog post now to cover this.

Posted by Rich Burridge on December 08, 2006 at 07:08 AM PST #

Do you have WiFi working?

I have a Ferrari 4000. I have used Ubuntu for the last three versions, but always on 32 bits. With Edgy I tried to use Ubuntu AMD64 but I couldn't resist to live without WiFi support, so I quit and moved back to 32 bits. Is this your laptop type? Do you have WiFi working? could you tell me how?!?!?

Posted by R. A. Rivas Diaz on December 08, 2006 at 06:27 PM PST #

Yes I do (at least for my Ferrari 3400). See this recent post.

Posted by Rich Burridge on December 08, 2006 at 10:04 PM PST #

Have you tried to use a 32 bits version of this browser. In gentoo, this is easier than in ubuntu. We can install nspluginwrapper on a 64 bits gentoo system running: emerge nspluginwrapper And we don't need any 32 bits chroot. Also, you can try with gnash

Posted by Pacho Ramos on February 01, 2007 at 03:11 PM PST #

Post a Comment:

Comments are closed for this entry.