Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Mozilla Firefox not detecting NPAPI plugins
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cami
n00b
n00b


Joined: 15 Jan 2005
Posts: 17

PostPosted: Sun May 05, 2013 12:20 pm    Post subject: [SOLVED] Mozilla Firefox not detecting NPAPI plugins Reply with quote

After a recent upgrade of Firefox, it doesn't detect the Flash plugin anymore (edit: nor Java). Firefox simply behaves as if the plugin wasn't on disk at all. Chrome detects it just fine. I already tried:
  • rebuilding flash
  • revdep-rebuild -i
  • wiping ~/.mozilla completely
I'm stuck. What else could I do?
Code:
$ equery l -F '[$location] [$mask] $cpv:$slot::$repo' firefox adobe-flash   
 * Searching for firefox ...
[I-O] [  ] www-client/firefox-21.0_beta5:0::mozilla

 * Searching for adobe-flash ...
[IP-] [  ] www-plugins/adobe-flash-11.2.202.280:0::gentoo



$ equery u firefox adobe-flash
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for www-client/firefox-21.0_beta5:
 U I
 + + alsa                 : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 - - bindist              : Flag to enable or disable options for prebuilt (GRP)  packages (eg. due to licensing issues)
 - - custom-cflags        : Build with user-specified CFLAGS (unsupported)
 - - custom-optimization  : <unknown>
 + + dbus                 : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
 - - debug                : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 + + gstreamer            : Adds support for media-libs/gstreamer (Streaming media)
 + + jit                  : Enable just-in-time compilation for improved performance. May prevent use of some PaX memory protection features in Gentoo Hardened.
 + + libnotify            : Enable desktop notification support
 + + minimal              : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
 + + startup-notification : Enable application startup event feedback mechanism
 - - system-cairo         : <unknown>
 - - system-jpeg          : <unknown>
 - - system-sqlite        : <unknown>
 - - wifi                 : Enable wireless network functions

 * Found these USE flags for www-plugins/adobe-flash-11.2.202.280:
 U I
 - - 32bit     : For amd64-multilib, installs the 32-bit plugin
 + + 64bit     : For amd64-multilib, installs the native 64-bit plugin
 + + kde       : Enables a KCM plugin for configuring flash player preferences
 + + sse2check : This flag, enabled by default, will check for sse2 support on your cpu and die if not found. If you are remote-building this package, you can disable this flag but you have been warned
 - - vdpau     : Enable the Video Decode and Presentation API for Unix acceleration interface



$ ls -lh /usr/lib64/firefox/plugins/
insgesamt 0
lrwxrwxrwx 1 root root 66 29. Jan 22:32 javaplugin.so -> /usr/share/java-config-2/nsplugin/oracle-jdk-bin-1.7-javaplugin.so
lrwxrwxrwx 1 root root 54  5. Mai 13:52 libflashplayer.so -> /opt/Adobe/flash-player/flash-plugin/libflashplayer.so


Last edited by cami on Sun May 05, 2013 4:34 pm; edited 3 times in total
Back to top
View user's profile Send private message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Sun May 05, 2013 1:02 pm    Post subject: Reply with quote

tbh, I'd leave it like that, not detecting flash.
Back to top
View user's profile Send private message
cami
n00b
n00b


Joined: 15 Jan 2005
Posts: 17

PostPosted: Sun May 05, 2013 3:07 pm    Post subject: Reply with quote

unfortunately even in 2013 many websites still critically rely on it.
Back to top
View user's profile Send private message
trippels
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2010
Posts: 89
Location: Berlin

PostPosted: Sun May 05, 2013 3:50 pm    Post subject: Reply with quote

Firefox now expects the plugin symbolic link here: /usr/lib64/firefox/browser/plugins.

So just move it from /usr/lib64/firefox/ to /usr/lib64/firefox/browser/.
Back to top
View user's profile Send private message
cami
n00b
n00b


Joined: 15 Jan 2005
Posts: 17

PostPosted: Sun May 05, 2013 4:09 pm    Post subject: Reply with quote

hmm. does it look in any non-firefox-specific location as well?

Edit: the ebuild for www-client/firefox-21.0_beta5::mozilla contains a symlink from
/usr/lib64/firefox/plugins -> ../nsbrowser/plugins
however, it appears this should be
/usr/lib64/firefox/browser/plugins -> ../../nsbrowser/plugins

Manually changing this solved the problem, thanks a lot for the hint! I reported the issue to mozilla@gentoo.org.
Back to top
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 188
Location: Zurich, Switzerland

PostPosted: Mon May 20, 2013 1:44 pm    Post subject: Reply with quote

the same here with firefox-bin 21 had to create symlink in the expected location

Code:

ln -s /usr/lib64/nsbrowser/plugins /opt/firefox/browser/plugins


Code:

lrwxrwxrwx 1 root root 28 May 16 08:50 /opt/firefox/plugins -> /usr/lib64/nsbrowser/plugins
t3400 ~ # ln -s /usr/lib64/nsbrowser/plugins /opt/firefox/browser/plugins
t3400 ~ # ls -l  /opt/firefox/plugins
lrwxrwxrwx 1 root root 28 May 16 08:50 /opt/firefox/plugins -> /usr/lib64/nsbrowser/plugins
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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