LoadPlugin: failed to initialize shared library /var/lib/flashplugin-installer/npwrapper.libflashplayer.so wrong ELF class: ELFCLASS64], Firefox from Mozilla, not KUbuntu ; jor ubuntu

Markus Schönhaber ubuntu-users at list-post.mks-mail.de
Fri Jul 30 21:16:29 UTC 2010

30.07.2010 22:17, giovanni_re:

> Firefox 3.6.8 downloaded directly from mozilla, not from the KUbuntu FF
> package.

I. e. a 32-bit Firefox binary.

> On KUbuntu 10.6 64bit OS, on an AMD Phenom II 4 core 64 bit processor.

A 64-bit OS.

> Is there a 32 bit / 64 bit problem here?

Until here, no. But below.

> This error message comes up when I try to enable a flash plugin, which
> is to play a streaming video.
> The "play" button appears, but when I click on it, instead of the
> streaming video window appearing, instead it is an empty black window in
> that area of the web page.
> =
> Any ideas what the problem is, & a fix?
> =====  Error message in console window:
> LoadPlugin: failed to initialize shared library
> /var/lib/flashplugin-installer/npwrapper.libflashplayer.so
> [/var/lib/flashplugin-installer/npwrapper.libflashplayer.so: wrong ELF
> class: ELFCLASS64]

Here is the problem: a 32-bit Firefox can't use 64-bit plugins. The
nspluginwrapper is a 64-bit plug-in (though, funnily, it's sole purpose
is to make 32-bit plugins available to a 64-bit Firefox).

If you want to use flash with your 32-bit Firefox, use the flashplugin
directly and not the nspluginwrapper'ed version.

There are some ways to get this working. Among them:
- Start 32-bit Firefox with the MOZ_PLUGIN_PATH environment variable
pointing to the directory containing 32-bit plugins. For example:
$ export MOZ_PLUGIN_PATH=/opt/32-bit-plugins
$ /path/to/32-bit-firefox/firefox -no-remote
- Use a separate profile directory for 32-bit Firefox, create a
directory named "plugins" inside it and copy the 32-bit plugins there.
Start 32-bit firefox like this to make it use this profile:
$ /path/to/32-bit-firefox/firefox -no-remote -Profile
IIRC the profile directory has to exist when starting Firefox this way,
otherwise it will use the default profile.


More information about the ubuntu-users mailing list