Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]firefox-17.0.6 and flash fails with wrong ELF Class
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
johnklug
n00b
n00b


Joined: 17 Jun 2013
Posts: 6

PostPosted: Sat Jun 29, 2013 5:09 am    Post subject: [solved]firefox-17.0.6 and flash fails with wrong ELF Class Reply with quote

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
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1366

PostPosted: Sat Jun 29, 2013 5:55 am    Post subject: Reply with quote

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
View user's profile Send private message
johnklug
n00b
n00b


Joined: 17 Jun 2013
Posts: 6

PostPosted: Sat Jun 29, 2013 6:30 am    Post subject: Reply with quote

Apparently I have useflags that no longer work on my system (I hadn't updated in a while). I removed these:

Code:
32bit -64bit


I emerged libflashplayer with the defaults, and everything is OK with firefox. Chromium worked both ways.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum