Skip to content

Installing Flash on 64-bit Linux (Centos 5)

This took a fair bit of searching, and the answer’s non-obvious…

Everybody (?) knows that in theory, if you have 64-bit Firefox on 64-bit Linux (x86_64), you can use nspluginwrapper to install 32-bit plugins, like the Flash Player. There’s some instructions here for example.

However, those instructions are flawed in two regards.

Firstly, Flash Player 10 doesn’t come with a .xpt file any more, but that’s not apparently a problem.

Secondly, and more mistifyingly, nspluginwrapper seems to require you to give the absolute path to the plugin’s .so file, for some reason. So if you get an error like this:

$ nspluginwrapper -v -i libflashplayer.so
*** NSPlugin Viewer  *** ERROR: libflashplayer.so: cannot open
shared object file: No such file or directory
nspluginwrapper: no appropriate viewer found for libflashplayer.so

Then try again with the full path to the plugin:

$ nspluginwrapper -v -i /home/bsm/clegg/.mozilla/plugins/libflashplayer.so
Install plugin /home/bsm/clegg/.mozilla/plugins/libflashplayer.so
  into /home/bsm/clegg/.mozilla/plugins/npwrapper.libflashplayer.so

Restart Firefox, and away you go, joy! No feeling for stability yet, but I’ll post again if there are any problems.

Incidentally, I first tried installing nspluginwrapper via yum, and got a whole bunch of unsatisfied dependencies:

Error: Package devhelp needs libgtkembedmoz.so, this is not available.
Error: Package devhelp needs libxpcom.so, this is not available.
Error: Package devhelp needs gecko-libs = 1.8.0.12, this is not available.

Then I just tried installing the RPMs from the nspluginwrapper home page (first the one marked Viewer, then the one marked Plugin) and it worked like a charm.

Hat tip to this thread on the Ubuntu Forums for finally revealing the key bit of information about absolute vs. relative paths.

UPDATE: Aaargh, sound doesn’t work. But that seems to be the fault of my ALSA drivers rather than Flash or nspluginwrapper. Apparently Flash can only use ALSA for sound, and not any of the other various Linux sound architectures, and only OSS works on this PC…

Andrew.

Share/save this page:
  • email
  • Google Bookmarks
  • Twitter
  • FriendFeed
  • del.icio.us
  • Digg
  • Reddit
  • StumbleUpon
  • Technorati
  • DZone
  • Slashdot
  • Fark
  • Facebook
  • MySpace
  • LinkedIn
  • Live
  • connotea

{ 3 } Comments

  1. lomex | April 12, 2009 at 9:06 pm | Permalink

    Thaaaaaanks sooooo muuuuch!!!
    I never had the idea of typing an absolute path!

  2. Lipong | April 27, 2009 at 12:28 pm | Permalink

    Hi

    Just to let you know that Adobe as released an alpha refresh of 64-bit Adobe Flash Player 10 for Linux.

    http://labs.adobe.com/downloads/flashplayer10.html

  3. Andrew | April 27, 2009 at 12:31 pm | Permalink

    Sweet, thanks for the the heads-up :-)

Post a Comment

Your email is never published nor shared. Required fields are marked *