[bug-notifications] [firefox 0001893]: Firefox directories keep moving
Mantis Bug Tracker
noreply at opencsw.org
Thu Mar 26 20:40:11 CET 2009
The following issue has been ASSIGNED.
======================================================================
http://www.opencsw.org/bugtrack/view.php?id=1893
======================================================================
Reported By: james
Assigned To: wbonnet
======================================================================
Project: firefox
Issue ID: 1893
Category: other
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 2006-10-28 05:51 CEST
Last Modified: 2009-03-26 20:40 CET
======================================================================
Summary: Firefox directories keep moving
Description:
The firefox directories contain the version, this means the plugins fail on
update and it\'s difficult and/or foolish to link to any of the firefox
libs, eg, libnss3.so.
See bug:
http://www.blastwave.org/mantis/view_bug_page.php?f_id=0001889
I also need to link other packages to some mozilla libs.
As for CSW packages we never need to have more than one instance can you
please remove the version form the paths? The plugins and libs can then
become just:
/opt/csw/libexec/firefox/lib/firefox/plugins/
/opt/csw/libexec/firefox/lib/firefox/
There might be issues with version 1.X vs 2.X but the libs names
themselves should allow for this I hope.
======================================================================
----------------------------------------------------------------------
(0004137) jgoerzen (reporter) - 2006-10-30 12:02
http://www.opencsw.org/bugtrack/view.php?id=1893#c4137
----------------------------------------------------------------------
Any idea how/where I can remove the version from the PATH?
----------------------------------------------------------------------
(0004139) james (reporter) - 2006-10-30 12:17
http://www.opencsw.org/bugtrack/view.php?id=1893#c4139
----------------------------------------------------------------------
The RPATH doesn\'t contain the version anyway:
$ dump -Lv firefox-bin | grep RPATH
[58] RPATH
/opt/csw/lib/$ISALIST:/opt/csw/lib:/opt/SUNWspro/lib/rw7:/opt/SUNWspro/lib/v8:/opt/SUNWspro/lib:/usr/ccs/lib:/lib:/usr/lib
...because the wrapper script sets LD_LIBRARY_PATH (see below).
The exec script has line:
moz_libdir=/opt/csw/libexec/firefox/lib/firefox-2.0
...an easy edit.
/opt/csw/libexec/firefox/lib/firefox-2.0/run-mozilla.sh
sets the path from where is lives:
cmdname=`basename \"$0\"`
MOZ_DIST_BIN=`dirname \"$0\"`
which sets LD_LIBRARY_PATH:
## Set LD_LIBRARY_PATH
LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+\":$LD_LIBRARY_PATH\"}
...so no action is needed there (unless you want to strip that line and
set the RPATH in the bins). Just move it and it will work from its
location.
Issue History
Date Modified Username Field Change
======================================================================
2009-03-26 20:40 wbonnet Assigned To jgoerzen => wbonnet
======================================================================
More information about the bug-notifications
mailing list