Closed Bug 551905 Opened 14 years ago Closed 14 years ago

mozilla-runtime expected at wrong location

Categories

(Core :: IPC, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 542053

People

(Reporter: wolfiR, Unassigned)

Details

mozilla-runtime is expected just besides the main process executable apparently:
http://mxr.mozilla.org/mozilla-central/source/ipc/glue/GeckoChildProcessHost.cpp#182

This is at least not true for xulrunner environments (e.g. with Fennec and for Linux distributions shipping Firefox as split package XR+Firefox).
Indeed, although for some reason I thought cjones had fixed this along the way. We should be using a path relative to NS_GRE_DIR.
I thought dougt was going to patch this, since it broke in Fennec when it was using xulrunner, but maybe he never got around to it.
I moved over to not using XR.  Prior to that move, i was doing something like:

export LD_LIBRARY_PATH=.:./xulrunner
xulrunner/xulrunner application.ini
So we have two problems: 1) can't find mozilla-runtime 2) have to set up LD_LIBRARY_PATH in order to launch it. I think we can solve both of these problems in the code.
Anything here not covered by bug 542053?  It has a WIP patch and everything.
I knew dougt had looked at this!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.