Isildur's cloud-sourced macroblog

Content-optimized and certified Web-3.11-for-Workgroups-ready

Subscribe to RSS feed

Flash 10 plugin for Linux (libflashplayer.so) problem solved

, , , ...

I had a problem, which was that despite the fact that the Flash 10 plugin was working fine in Firefox and Opera was set to look at my Mozilla/Firefox plugin diractories, Flash wasn't working in Opera. Opera didn't crash for me, but it was as if Flash wasn't installed. Sites like YouTube that required flash would give me an error message advising me to install it, despite the fact that I most certainly had already done so. When running
$opera -debugplugin
I was getting error output like

operapluginwrapper: [plugin failed ] dlopen(RTLD_NOW | RTLD_GLOBAL) failed on /usr/lib/mozilla/plugins/libflashplayer.so
operapluginwrapper: [plugin failed ] With error libnss3.so: cannot open shared object file: No such file or directory
operapluginwrapper: [plugin failed ] Retrying with dlopen(RTLD_LAZY | RTLD_GLOBAL)

operapluginwrapper: [plugin failed ] dlopen failed on /usr/lib/mozilla/plugins/libflashplayer.so
operapluginwrapper: [plugin failed ] With error libnss3.so: cannot open shared object file: No such file or directory


Fortunately, the steps described in this Turkish blog post solved the problem! Google Translate gave a somewhat comprehensible translation that I've cleaned up a lot to make the tranlation below:


Flashplayer 10 Linux
Adobe Labs announced Flash Player 10 yesterday. I promptly updated to the new player, but this caused the web browser to crash.
I had Kubuntu installed on my laptop. I used the installer from Adobe's site. In /usr/lib/opera/plugins, a file named libflashplayer.so was created. I opened Opera, Tools -> Preferences -> Advanced -> Plugin Options -> Choose Path and I received an "Extension not found" error. I tried with Firefox to searching for the problem but didn't find more.

In the Freenode IRC channel #opera, user Remco was aware of a parameter for which I was grateful: -debugplugin.
Running Opera with the command

opera -debugplugin
revealed some interesting errors. The error indicated that some needed libraries were not installed:
libnss3.so error: can not open shared object file: No such file or directory 

So I then installed the library with apt libnss3-1d package
apt-get install libnss3-1d 

After installing this library when I opened Opera again with the debugplugin parameter, there was also a library called libplds4.so missing. I ran locate with that extension, I found the file but it had a different extension.
The command
ln -s /usr/lib/libplds4.so.0d /usr/lib/libplds4.so
fixed it.

But it was still not enough.
Similarly, two more library path corrections were needed. These were
ln-s / usr/lib/libplc4.so.0d / usr/lib/libplc4.so 
ln-s / usr/lib/libnspr4.so.0d / usr/lib/libnspr4.so 

After running Opera with the -debugplugin parameter again, I met with the message
opera: plugin detection successful: /usr/lib/opera/plugins/libflashplayer.so

and now I could use Flashplayer 10 seamlessly. smile




My thanks to Osman Yüksel. I hope reposting this in English is helpful to someone.


...Now there's just this problem to worry about. =/
May 2012
S M T W T F S
April 2012June 2012
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31