On Fri, Jun 13, 2008 at 12:12:27AM -0700, Shaun Jackman <[EMAIL PROTECTED]> wrote: > Hi Mike, > > Switching from using -lxpcomglue in libxul-dev to `pkg-config --libs > libxul-embedding` in xulrunner-dev yields the folowing runtime error > when running Azureus/Vuze: > java: symbol lookup error: /usr/lib/jni/libswt-mozilla-gtk-3346.so: > undefined symbol: NS_StringContainerInit2 > > Any suggestions before the might help speed up my troubleshooting?
The first obvious thing would be to ensure you use the proper includes, which means you need, at some point, to use pkgconfig --cflags libxul-embedding. The second thing I would do is ensure it works properly if you build with pkg-config --libs libxul instead of libxul-embedding. When testing this setup, make sure you set the LD_LIBRARY_PATH to /usr/lib/xulrunner-1.9, as it is necessary with what is called the dependent glue (which is what you get with libxul.pc). Once you have things working with this setup, you can switch to libxul-embedding, which requires some additional changes, but we'll see then. Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]