How to use mozjs from xulrunner?

Braden McDaniel braden at endoframe.com
Wed Nov 14 20:10:50 UTC 2007


Martin Sourada wrote:
> Hi,
> 
> I attempted to optimise the gxine package, which uses JS library, for
> xulrunner, as I though it might be better to use xulrunner's mozjs,
> rather than libjs as xulrunner is already needed for it's mozplugin, so
> I have locally built a copy with xulrunner's mozjs used and I got this
> error when I try to run the application: 
> 
> gxine: error while loading shared libraries: libmozjs.so: cannot open
> shared object file: No such file or directory.

openvrml-xembed solves this by adding an rpath to where libmozjs.so lives.

Another alternative is a driver script that sets LD_RUN_PATH appropriately.

-- 
Braden McDaniel                      e-mail: <braden at endoframe.com>
<http://endoframe.com>               Jabber: <braden at jabber.org>




More information about the fedora-devel-list mailing list