Closed
Bug 613870
Opened 14 years ago
Closed 14 years ago
Load Plugin fails for flash player 10 due to access of wrong solaris library location
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: badnell, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.12) Gecko/20101027 Firefox/3.6.12
Build Identifier: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.12) Gecko/20101027 Firefox/3.6.12
Flashplayer 10 requires newer libs than my /usr/lib/mps contains
The firefox solaris_x86 distribution contains the needed libraries
but they are not accessed by firefox-bin Load Plugin
Reproducible: Always
Steps to Reproduce:
1. Install Flash Player 10 in usual firefox/plugins dir.
2. Restart firefox
Actual Results:
nabha> firefox &
[3] 1730
nabha> LoadPlugin: failed to initialize shared library /opt/lo
cal/firefox-3.6.12/plugins/libflashplayer.so [ld.so.1: firefox
-bin: fatal: libssl3.so: open failed: No such file or director
y]
Expected Results:
flash player 10 should load
firefox-bin LoadPlugin looks in /usr/lib/mps, which has out-of-date libraries for flash player 10, i.e. it ignores LD_LIBRARY_PATH etc
libflashplayer.so does respect LD_LIBRARY_PATH
nabha> ldd libflash*
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
librt.so.1 => /usr/lib/librt.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libXt.so.4 => /usr/openwin/lib/libXt.so.4
libfreetype.so.6 => /usr/sfw/lib/libfreetype.so.6
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1
libc.so.1 => /usr/lib/libc.so.1
libCrun.so.1 => /usr/lib/libCrun.so.1
libCstd.so.1 => /usr/lib/libCstd.so.1
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0
libm.so.2 => /usr/lib/libm.so.2
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
libssl3.so => /opt/local/firefox/libssl3.so
libnss3.so => /opt/local/firefox/libnss3.so
libnspr4.so => /opt/local/firefox/libnspr4.so
libsmime3.so => /opt/local/firefox/libsmime3.so
libmp.so.2 => /usr/lib/libmp.so.2
libmd5.so.1 => /usr/lib/libmd5.so.1
libscf.so.1 => /usr/lib/libscf.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libSM.so.6 => /usr/openwin/lib/libSM.so.6
libICE.so.6 => /usr/openwin/lib/libICE.so.6
libz.so.1 => /usr/lib/libz.so.1
libexpat.so.0 => /usr/sfw/lib/libexpat.so.0
libXft.so.2 => /usr/openwin/lib/libXft.so.2
libXrender.so.1 => /usr/sfw/lib/libXrender.so.1
libmlib.so.2 => /usr/lib/libmlib.so.2
libXrandr.so.2 => /usr/X11/lib/libXrandr.so.2
libXi.so.5 => /usr/openwin/lib/libXi.so.5
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0
libnssutil3.so => /opt/local/firefox/libnssutil3.so
libplc4.so => /opt/local/firefox/libplc4.so
libthread.so.1 => /usr/lib/libthread.so.1
libplds4.so => /opt/local/firefox/libplds4.so
libdoor.so.1 => /usr/lib/libdoor.so.1
libuutil.so.1 => /usr/lib/libuutil.so.1
/usr/lib/libmlib/libmlib_sse2.so.2
If I copy libssl3.so plus dependencies into /usr/lib/mps (dangerous) then
flash player 10 loads fine. Not a workaround since it screws the desktop.
Workaround would be to update Solaris OS then latest libs will be in the place it looks.
Updated•14 years ago
|
Component: Build Config → Plug-ins
Product: Firefox → Core
QA Contact: build.config → plugins
The contrib build of Firefox 3.x on Solaris 10 will ignore user's setting of LD_LIBRARY_PATH.
Because it uses another set of gnome libraries, it will not work if user sets LD_LIBRARY_PATH to /usr/lib or somewhere else.
If you want to take the risk, you can change the code in run-mozilla.sh.
(Search LD_LIBRARY_PATH from end of the file.)
Yes, the right fix should be to install Solaris patches to update NSS libraries in /usr/lib/mps.
This is not a bug of Firefox plugin module.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 2•14 years ago
|
||
To avoid an OS upgrade:
In run-mozilla.sh, add ${NEW_PATH} to
LD_LIBRARY_PATH=${NEW_PATH}/depend/lib
to give
LD_LIBRARY_PATH=${NEW_PATH}/depend/lib:${NEW_PATH}
This seems the minimal necessary extension of LD_LIBRARY_PATH
for Flash 10.1 r102 to work fine (apparently).
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•