Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Firefox Beta unable to load add-on with shared library built against XULRunner for Bets (xulrunner-22.0b1)

87 views
Skip to first unread message

Subrata Mazumdar

unread,
May 16, 2013, 1:30:14 PM5/16/13
to

I have now tested with with Firefox-22 as beta and ot still does not
work. Please see the attached message for the description of the problem.

I think that the problem is related to mismatch between the shared
libraries in XULRunner and the shared libraries in the Firefox-22
distribution.
Firefox-Beta distribution does not have following libs:
libnssutil3.dylib, libplc4.dylib libplds4.dylib libsmime3.dylib
libnspr4.dylib libssl3.dylib

When I build with source tree without XULRunner, the shared libraries
matches with Firefox-22 distribution.

It seems that all those missing libraries are merged with libnss3.dylib
in Firefox-22 distribution.

It looks like I cannot use the XULRunner to build my binary componenets.
If I build with FF-22 source tree without xul-sdk would the binary
components be compatible with FF-22?

Thanks for your help.
--
Subrata




-------- Original Message --------
Subject: Firefox Aurora unable to load add-on with shared library built
against XULRunner for Aurora (xulrunner-22.0a2)
Date: Sat, 11 May 2013 11:40:40 -0400
From: Subrata Mazumdar <subrata....@ieee.org>
Newsgroups: mozilla.dev.apps.firefox

I am trying test my add-on (that has binary components) with Aurora (FF
22) built with xulrunner-22.0a2.

I am testing on Mac OSX 10.7.5 (Darwin 11.4.2 x86_64).

If I build the binary components with libraries in mozilla-source tree
(i.e., without the --with-libxul-sdk option) option, Aurora app load
the binary components of add-on properly and everything works fine.

But, if I build the with libraries in xulrunner-22.0a2 (i.e., with the
--with-libxul-sdk option), Aurora app fails to load the binary
components of the add-on.

I have no problem with loading the same binary components in FF 21
built with libraries for xulrunner-21.

I have noticed that there are differences in contents of Application
directory for FF-21 (Beta) and FF-22 (Aurora).


Firefox-Beta (FF-21):
(cd ~/Applications/FirefoxBeta.app/Contents/MacOS/; ls *.dylib) :
Firefox-Beta
libfreebl3.dylib* libnssckbi.dylib*
libsmime3.dylib*
libmozalloc.dylib* libnssdbm3.dylib*
libsoftokn3.dylib*
libmozglue.dylib* libnssutil3.dylib*
libssl3.dylib*
libmozsqlite3.dylib* libplc4.dylib*
libxpcom.dylib
libnspr4.dylib* libplds4.dylib*
libnss3.dylib* libplugin_child_interpose.dylib*

Firefox-Aurora (FF-22):
(cd ~/Applications/FirefoxAurora.app/Contents/MacOS/; ls *.dylib)
libfreebl3.dylib* libnss3.dylib*
libplugin_child_interpose.dylib*
libmozalloc.dylib* libnssckbi.dylib*
libsoftokn3.dylib*
libmozglue.dylib* libnssdbm3.dylib*


Any suggestions how to fix this problem. Would this problem go away
when FF22 moves to Firefox beta channel?

Thanks.
--
Subrata

Mike Hommey

unread,
May 16, 2013, 1:49:51 PM5/16/13
to Subrata Mazumdar, dev-pl...@lists.mozilla.org
On Thu, May 16, 2013 at 01:30:14PM -0400, Subrata Mazumdar wrote:
>
> I have now tested with with Firefox-22 as beta and ot still does not
> work. Please see the attached message for the description of the
> problem.
>
> I think that the problem is related to mismatch between the shared
> libraries in XULRunner and the shared libraries in the Firefox-22
> distribution.
> Firefox-Beta distribution does not have following libs:
> libnssutil3.dylib, libplc4.dylib libplds4.dylib libsmime3.dylib
> libnspr4.dylib libssl3.dylib
>
> When I build with source tree without XULRunner, the shared
> libraries matches with Firefox-22 distribution.
>
> It seems that all those missing libraries are merged with
> libnss3.dylib in Firefox-22 distribution.
>
> It looks like I cannot use the XULRunner to build my binary
> componenets. If I build with FF-22 source tree without xul-sdk would
> the binary components be compatible with FF-22?

That's bug 865655, and it likely will be fixed for beta2.

Mike
0 new messages