Hi! I've encountered the same problems in the past. Previously I was
able to skirt the issue by using libgtkmozembed and linking against
libraries in /usr/lib/xulrunner. But that is not available on lucid.

The problem is that the libraries are in /usr/lib/xulrunner-1.9.2.3

You can link against them there like this:

(In my src/Makefile.am):

foo_LDFLAGS = -Wl,-rpath,/usr/lib/xulrunner-1.9.2.3


This results in:

        libxul.so => /usr/lib/xulrunner-1.9.2.3/libxul.so (0xb60ec000)
        libxpcom.so => /usr/lib/xulrunner-1.9.2.3/libxpcom.so (0xb60e7000)
        libmozjs.so => /usr/lib/xulrunner-1.9.2.3/libmozjs.so (0xb5f94000)

So I'd be worried that this is very fragile and could break with a
simple update to xulrunner-1.9.2.

I'm not familiar enough with the tools to know if there's a way to
statically link just those libraries or not. But this is a problem I
need to solve in the next few days as well.

-- 
XPCOM dependent glue fails to link symbols
https://bugs.launchpad.net/bugs/577745
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to