Comment 2 for bug 286906

Revision history for this message
James Su (james-su) wrote : Re: Unable to use libmozjs.so in an application, because of library path problem.

The project I'm working on is: http://code.google.com/p/google-gadgets-for-linux, which has two modules that relies on xulrunner:
1. A script runtime module based on SpiderMonkey library(libmozjs.so), taking charge of javascript interpretation.
2. A browser module based on Gecko(gtkmozembed) and SpiderMonkey library, taking charge of html rendering. It needs inject methods into html window and run some javascript code, so only Gecko is not enough.

xulrunner is the only package which provides both Gecko and SpiderMonkey. Though Gecko can be accessed via xpcomglue, SpiderMonkey can only be used as a shared library. So in this point of view, xulrunner ships not only a sdk + runner, but also a shared library.