<div dir="ltr">Hi,<br>&nbsp; I&#39;m working on a <a href="http://code.google.com/p/google-gadgets-for-linux" target="_blank">project</a>
which depends on xulrunner and spidermonkey (libmozjs). I use ubuntu
8.04 and xulrunner 1.9 as my development environment. The problem is,
libmozjs.so is in /usr/lib/xulrunner-1.9.0.x/ subdir, the application
can&#39;t find it if rpath is not used. But if rpath is used, it&#39;ll be
bound to a specific version of xulrunner, which is not what we want.
And there is no way to get the correct library path of libmozjs.so by
pkg-config --libs mozilla-js.pc, which returns
/usr/lib/xulrunner-devel-1.9.<div dir="ltr">0.x/lib as the library path, which is
only available in xulrunner-1.9-dev package. So I&#39;m wondering, is there
any solution to solve the linkage problem of libmozjs? Maybe just like
the xpcomglue solution for gtkmozembed.<br>
<br>Thanks a lot.<br>James Su</div></div>