How do I enable Flash in Firefox?

Asked by tdn

After upgrading to Kubuntu 10.04, Flash does not work in Mozilla Firefox.

I have tried disabling all extensions. That did not help.

When I start Firefox from a terminal and go to a Flash site (e.g. Youtube) I see this error in the terminal:
LoadPlugin: failed to initialize shared library /home/tdn/.mozilla/plugins/libflashplayer.so [/home/tdn/.mozilla/plugins/libflashplayer.so: wrong ELF class: ELFCLASS64]

The error is repeated several times.

How to I fix this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu firefox Edit question
Assignee:
No assignee Edit question
Solved by:
Micah Gersten
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Seems you have installed 64bits flash on a 32bit Ubuntu system...

Revision history for this message
tdn (spam-thomasdamgaard) said :
#2

Hmm... Ok. I am not sure how that happened. How do I fix it?

Revision history for this message
Jens Maucher (jensmaucher) said :
#3

sudo apt-get --reinstall install flashplugin-installer

Revision history for this message
tdn (spam-thomasdamgaard) said :
#4

I just did that.

Here is the output from reinstalling the package:
http://paste.adora.dk/P1720.html

When I start Firefox again, I still get this error:
LoadPlugin: failed to initialize shared library /home/tdn/.mozilla/plugins/libflashplayer.so [/home/tdn/.mozilla/plugins/libflashplayer.so: wrong ELF class: ELFCLASS64]

Revision history for this message
tdn (spam-thomasdamgaard) said :
#5

I noticed that this error occured several times in the logs at different addresses:

2010-07-06T13:54:52.737198+02:00 malbec.vineyard.sikkerhed.org kernel: [13324.738491] plugin-containe[8963]: segfault at c ip 0012231b sp b78b20a0 error 4 in libnspr4.so[110000+31000]

Revision history for this message
Best Micah Gersten (micahg) said :
#6

You need to remove this file or move it out of .mozilla temporarily and restart Firefox:
/home/tdn/.mozilla/plugins/libflashplayer.so

Revision history for this message
tdn (spam-thomasdamgaard) said :
#7

Thanks Micah Gersten, that solved my question.