[Bug 559696] [NEW] x86-64 Ubuntu 9.10: Flash installer on x86-86 installs flash in such a way that it can't be used by 32-bit firefox builds

Launchpad Bug Tracker 559696 at bugs.launchpad.net
Sat Apr 10 02:23:39 UTC 2010


You have been subscribed to a public bug:

Steps to reproduce:
 - Download 32-bit firefox nightly from http://nightly.mozilla.org
 - Navigate to flash content, for example http://www.macloo.com/examples/flash/animation/martini.htm
 - Choose to install missing plugins
 - Select the non-free Adobe flash player, install
 - Restart 32-bit firefox
 - Navigate again to http://www.macloo.com/examples/flash/animation/martini.htm
 - Applet fails to load, "Install missing plugin" doorhanger appears again
 - If firefox is run from the console, output like
LoadPlugin: failed to initialize shared library /var/lib/flashplugin-installer/npwrapper.libflashplayer.so [/var/lib/flashplugin-installer/npwrapper.libflashplayer.so: wrong ELF class: ELFCLASS64]
   is written to stderr

Expected results:
 - non-free flash is installed in such a way that 32- and 64-bit browsers can load it

The problem is that the flashplugin-installer depends on
nspluginwrapper, which is installed without the user's knowledge (meh,
but OK).  nspluginwrapper installs a 64-bit NPAPI plugin /var/lib
/flashplugin-installer/npwrapper.libflashplayer.so, and 32-bit firefox
builds can't load 64-bit plugins.

Simple workaround: use the same mechanism that adds /var/lib/flashplugin-installer/ to firefox's plugin search path to also add /usr/lib/flashplugin-installer/ (where the 32-bit libflashplayer.so is installed).  64-bit firefox will load the nspluginwrapper, and 32-bit firefox will directly load libflashplayer.so.  This workaround can be tested by running
  $ ln -s /usr/lib/flashplugin-installer/libflashplayer.so ~/.mozilla/plugins/libflashplayer.so
and then restarting 32-bit firefox.

I understand that non-free flash and 32-bit firefox builds on 64-bit
distributions are sort of doubly-unofficially-supported, but the
workaround is easy enough that it seems worthwhile to me.

FWIW Mozilla's out-of-process plugin team plans to support loading
plugins of different architectures than the firefox build's (like
nspluginwrapper), but there's no definite timeline for this feature yet.

Sorry for leaving the package blank, I'm not sure in which this
workaround is best implemented.

** Affects: flashplugin-nonfree (Ubuntu)
     Importance: Undecided
         Status: New

-- 
x86-64 Ubuntu 9.10: Flash installer on x86-86 installs flash in such a way that it can't be used by 32-bit firefox builds
https://bugs.launchpad.net/bugs/559696
You received this bug notification because you are a member of Mozilla Bugs, which is subscribed to flashplugin-nonfree in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list