Closed Bug 259311 Opened 20 years ago Closed 14 years ago

firefox -remote broken if some mozilla packages not present

Categories

(Firefox :: Installer, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mikel, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3

NOTE: I am running this on Suse 9.2 with Mozilla installed, but firefox requires
mozilla components that are not installed by default, and are not part of the
Suse 9.2 distro.

Bug is that firefox install should check for required shared libs and at least
warn on installation, or better yet download them...

Trying to run firefox -remote 'openURL(http://www.yahoo.com)' yields
Error: No running window found

On investigation, this is because it calls mozilla-xremote-client which requires
libplds4.so which is part of the mozilla-nspr package which is not part of Suse 9.2.

Installing mozilla-nspr-1.3-0_rh7 allows mozilla-xremote-client to work, but
firefox -remote still fails because it requires libmozjs.so which is not part of
the mozilla package distributed with Suse 9.2 (mozilla-1.6-74.9).

Reproducible: Always
Steps to Reproduce:
1. Uninstall all mozilla files.
2. Install RPM mozilla-1.6-74.9
3. Run firefox -remote 'openURL(http://www.yahoo.com)'
Actual Results:  
Error: No running window found

Expected Results:  
Opened the URL
libplds4.so is included in firefox itself. You don't need mozilla's.
But even if it this would be the case the file is included in the SUSE mozilla
RPM. libmozjs.so is also part of the mozilla RPM on SUSE but also it is included
in firefox.
From where you got the firefox build? mozilla.org or SUSE?
Got firefox from mozilla.org
then your environment isn't correctly set to load shared libs out of your
firefox installation directory. To test it change into your installation
directory and start firefox with
LD_LIBRARY_PATH=. firefox -remote ...

At least this should work.
/usr/local/firefox> LD_LIBRARY_PATH=. ./firefox -remote
'openURL(http://www.Cmozilla.org)'
Error: No running window found
/usr/local/firefox> ls
chrome/         install.log     libsoftokn3.chk          registry
components/     libmozjs.so*    libsoftokn3.so*          res/
components.ini  libnspr4.so*    libssl3.so*              run-mozilla.sh*
defaults/       libnss3.so*     libxpcom_compat.so*      run-mozilla.sh~*
extensions/     libnssckbi.so*  libxpcom.so*             searchplugins/
firefox*        libplc4.so*     libxpistub.so*           xpicleanup*
firefox-bin*    libplds4.so*    mozilla-xremote-client*
greprefs/       libsmime3.so*   plugins/
Assignee: bugs → nobody
QA Contact: bugzilla → installer
is this still an issue ?
No reply, INCOMPLETE. Please retest with Firefox 3.6.x or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.