본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Firefox on linux gets confused when both 32bit and 64bit plugins are found

  • 2 답장
  • 1 이 문제를 만남
  • 16 보기
  • 최종 답변자: cor-el

more options

On a CentOS6 machines, 32bit plugins get installed to /usr/lib/mozilla/plugins and 64bit plugins get installed /usr/lib64/mozilla/plugins. If both locations have the same plugin installed, such as libflashplayer.so, then 64bit firefox seems to randomly find one first and fail when it sees the 32bit version first. This results in Flash working for some users and not for others .

I can run "strings -a ~/.mozilla/firefox/*/pluginreg.dat | grep usr.lib" and see which users will have it fail because the 32bit path to libflashplayer.so is listed first for them. For the users where it works the 64bit version in /usr/ilb64 is listed first.

I see no way to make 64bit firefox ignore what is in /usr/lib/mozilla/plugins as this seems hardcoded into the binary. I also see no way to make the /usr/lib64 path take precedence as I have MOZ_PLUGIN_PATH=/usr/lib64/mozilla/plugins-wrapped

The output I see on the stderr is:

LoadPlugin: failed to initialize shared library /usr/lib/flash-plugin/libflashplayer.so wrong ELF class: ELFCLASS32 [8941] WARNING: pipe error (60): Connection reset by peer: file /builds/slave/rel-m-rel-l64_bld-000000000000/build/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 450

repeated many times

It seems to me at least that plugins in a user set MOZ_PLUGIN_PATH should always take precedence over those in a hard coded path like /usr/lib/mozilla/plugins

On a CentOS6 machines, 32bit plugins get installed to /usr/lib/mozilla/plugins and 64bit plugins get installed /usr/lib64/mozilla/plugins. If both locations have the same plugin installed, such as libflashplayer.so, then 64bit firefox seems to randomly find one first and fail when it sees the 32bit version first. This results in Flash working for some users and not for others . I can run "strings -a ~/.mozilla/firefox/*/pluginreg.dat | grep usr.lib" and see which users will have it fail because the 32bit path to libflashplayer.so is listed first for them. For the users where it works the 64bit version in /usr/ilb64 is listed first. I see no way to make 64bit firefox ignore what is in /usr/lib/mozilla/plugins as this seems hardcoded into the binary. I also see no way to make the /usr/lib64 path take precedence as I have MOZ_PLUGIN_PATH=/usr/lib64/mozilla/plugins-wrapped The output I see on the stderr is: LoadPlugin: failed to initialize shared library /usr/lib/flash-plugin/libflashplayer.so [/usr/lib/flash-plugin/libflashplayer.so: wrong ELF class: ELFCLASS32] [8941] WARNING: pipe error (60): Connection reset by peer: file /builds/slave/rel-m-rel-l64_bld-000000000000/build/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 450 repeated many times It seems to me at least that plugins in a user set MOZ_PLUGIN_PATH should always take precedence over those in a hard coded path like /usr/lib/mozilla/plugins

모든 댓글 (2)

more options

HI paulraines68, This may be a question that is beyond the user support of this forum. There are channels I can point you to for feedback or how to submit a bug for this [bugzilla.mozilla.org].

However stackoverflow.com may be the best place for solving the immediate question.

more options