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.mazum...@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

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to