View previous topic :: View next topic |
Author |
Message |
johnklug n00b
Joined: 17 Jun 2013 Posts: 31
|
Posted: Sat Jun 29, 2013 5:09 am Post subject: [solved]firefox-17.0.6 and flash fails with wrong ELF Class |
|
|
I have an x86_64 system.
I tried running (both as root and the user) as suggested in another post:
Code: | nspluginwrapper -i /opt/Adobe/flash-player32/libflashplayer.so
|
I still get:
Code: | LoadPlugin: failed to initialize shared library /opt/Adobe/flash-player32/libflashplayer.so [/opt/Adobe/flash-player32/libflashplayer.so: wrong ELF class: ELFCLASS32]
|
I have:
Code: | www-client/firefox-17.0.6
www-plugins/nspluginwrapper-1.4.4-r3
www-plugins/adobe-flash-11.2.202.285
|
I only get the error message the first time I run firefox and flash. Subsequent times firefox says a plugin needs to be installed, but I don't get the error.
Looking at opens of flashplayer in strace, I see:
Code: | $ grep libflashplayer /tmp/trace1.txt | grep open
30664 open("/home/klugja/.mozilla/plugins/npwrapper.libflashplayer.so", O_RDONLY|O_CLOEXEC) = 55
30695 open("/opt/Adobe/flash-player32/libflashplayer.so", O_RDONLY|O_CLOEXEC) = 4
30664 open("/opt/Adobe/flash-player32/libflashplayer.so", O_RDONLY|O_CLOEXEC) = 55
30664 open("/opt/Adobe/flash-player32/libflashplayer.so", O_RDONLY|O_CLOEXEC) = 55
30715 open("/home/klugja/.mozilla/plugins/npwrapper.libflashplayer.so", O_RDONLY|O_CLOEXEC) = 13
30717 open("/opt/Adobe/flash-player32/libflashplayer.so", O_RDONLY|O_CLOEXEC) = 4
30736 open("/opt/Adobe/flash-player32/libflashplayer.so", O_RDONLY|O_CLOEXEC) = 3
|
Last edited by johnklug on Sat Jun 29, 2013 6:31 am; edited 1 time in total |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Sat Jun 29, 2013 5:55 am Post subject: |
|
|
In my case that is ELF64 instead of ELF32; could you pastebin your complete build log of www-plugins/adobe-flash and the `emerge --info` output? |
|
Back to top |
|
|
johnklug n00b
Joined: 17 Jun 2013 Posts: 31
|
Posted: Sat Jun 29, 2013 6:30 am Post subject: |
|
|
Apparently I have useflags that no longer work on my system (I hadn't updated in a while). I removed these:
I emerged libflashplayer with the defaults, and everything is OK with firefox. Chromium worked both ways. |
|
Back to top |
|
|
|