OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001893 [firefox] other major always 2006-10-28 05:51 2010-01-24 11:23
Reporter james View Status public  
Assigned To wbonnet
Priority normal Resolution fixed  
Status closed  
Summary 0001893: 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.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0004137)
jgoerzen (developer)
2006-10-30 12:02

Any idea how/where I can remove the version from the PATH?
(0004139)
james (reporter)
2006-10-30 12:17

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.
(0006087)
wbonnet (manager)
2009-05-10 22:57

Directories are renamed. It will be available in the next release of package
(0007331)
wbonnet (manager)
2010-01-24 11:22

Fix is now publish to current


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker