|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Missing libgtkembedmoz.so when upgrading XULRunner!After an upgrade of XULRunner to 1.9.0.12, my embedded mozilla browser
application gives the following error message when starting: ------------------ error while loading shared libraries: libgtkembedmoz.so: cannot open shared object file: No such file or directory ------------------ In XULRunner 1.8, the libgtkembedmoz.so was included, but I can not find it in the same place in XULRunner 1.9. What is my problem and how do I solve it? _______________________________________________ dev-embedding mailing list dev-embedding@... https://lists.mozilla.org/listinfo/dev-embedding |
|
|
Re: Missing libgtkembedmoz.so when upgrading XULRunner!please read:
http://benjamin.smedbergs.us/blog/2005-12-23/whats-coming-for-gtkmozembed/ and http://benjamin.smedbergs.us/blog/2006-01-12/mozilla-embedding-small-devices-and-gtkmozembed/ []s On Mon, Aug 24, 2009 at 3:52 AM, SimOut<simoutbridge@...> wrote: > After an upgrade of XULRunner to 1.9.0.12, my embedded mozilla browser > application gives the following error message when starting: > ------------------ > error while loading shared libraries: libgtkembedmoz.so: cannot open > shared > object file: No such file or directory > ------------------ > > In XULRunner 1.8, the libgtkembedmoz.so was included, but I can not > find it in the same place in XULRunner 1.9. > > What is my problem and how do I solve it? > _______________________________________________ > dev-embedding mailing list > dev-embedding@... > https://lists.mozilla.org/listinfo/dev-embedding > -- --Antonio Gomes _______________________________________________ dev-embedding mailing list dev-embedding@... https://lists.mozilla.org/listinfo/dev-embedding |
|
|
|
|
|
Re: Missing libgtkembedmoz.so when upgrading XULRunner!> And link to the following libraries:
> --------------------------------------------------- > -L/usr/lib64/xulrunner-sdk-1.9/sdk/lib > -L/lib64 > -lxpcomglue > -lgtk-x11-2.0 > -lgdk-x11-2.0 > -latk-1.0 > -lgdk_pixbuf-2.0 > -lm > -lpangocairo-1.0 > -lpango-1.0 > -lcairo > -lgobject-2.0 > -lgmodule-2.0 > -ldl > -lglib-2.0 > --------------------------------------------------- > > Which library should i not link to? > hi, I believe you should link against libxul (?) -- --Antonio Gomes _______________________________________________ dev-embedding mailing list dev-embedding@... https://lists.mozilla.org/listinfo/dev-embedding |
|
|
Re: Missing libgtkembedmoz.so when upgrading XULRunner!On 8/25/09 1:47 AM, SimOut wrote:
> -------------------------------------------------- > static const GREVersionRange greVersion = {"1.9a", PR_TRUE, "2", > PR_TRUE }; > GRE_GetGREPathWithProperties(&greVersion, 1, nsnull, 0, xpcomPath, > sizeof(xpcomPath)); > XPCOMGlueStartup(xpcomPath); > GTKEmbedGlueStartup(); > GTKEmbedGlueStartupInternal(); > gtk_moz_embed_set_path(xpcomPath); > --------------------------------------------------- > > And link to the following libraries: > --------------------------------------------------- > -L/usr/lib64/xulrunner-sdk-1.9/sdk/lib > -L/lib64 > -lxpcomglue > -lgtk-x11-2.0 > -lgdk-x11-2.0 > -latk-1.0 > -lgdk_pixbuf-2.0 > -lm > -lpangocairo-1.0 > -lpango-1.0 > -lcairo > -lgobject-2.0 > -lgmodule-2.0 > -ldl > -lglib-2.0 > --------------------------------------------------- This looks correct to me. What errors do you see using this method? --BDS _______________________________________________ dev-embedding mailing list dev-embedding@... https://lists.mozilla.org/listinfo/dev-embedding |
|
|
|
|
|
Re: Missing libgtkembedmoz.so when upgrading XULRunner!On Aug 25, 3:10 pm, Benjamin Smedberg <benja...@...> wrote:
> On 8/25/09 1:47 AM, SimOut wrote: > > > > > -------------------------------------------------- > > static const GREVersionRange greVersion = {"1.9a", PR_TRUE, "2", > > PR_TRUE }; > > GRE_GetGREPathWithProperties(&greVersion, 1, nsnull, 0, xpcomPath, > > sizeof(xpcomPath)); > > XPCOMGlueStartup(xpcomPath); > > GTKEmbedGlueStartup(); > > GTKEmbedGlueStartupInternal(); > > gtk_moz_embed_set_path(xpcomPath); > > --------------------------------------------------- > > > And link to the following libraries: > > --------------------------------------------------- > > -L/usr/lib64/xulrunner-sdk-1.9/sdk/lib > > -L/lib64 > > -lxpcomglue > > -lgtk-x11-2.0 > > -lgdk-x11-2.0 > > -latk-1.0 > > -lgdk_pixbuf-2.0 > > -lm > > -lpangocairo-1.0 > > -lpango-1.0 > > -lcairo > > -lgobject-2.0 > > -lgmodule-2.0 > > -ldl > > -lglib-2.0 > > --------------------------------------------------- > > This looks correct to me. What errors do you see using this method? > > --BDS When trying to start the application, I get this error: ------------------ error while loading shared libraries: libgtkembedmoz.so: cannot open shared object file: No such file or directory ------------------ The source code worked in previous releases of XULRunner, but after upgrading to 1.9.0.12 it does not work.... _______________________________________________ dev-embedding mailing list dev-embedding@... https://lists.mozilla.org/listinfo/dev-embedding |
|
|
Re: Missing libgtkembedmoz.so when upgrading XULRunner!On 8/25/09 6:28 AM, SimOut wrote:
> When trying to start the application, I get this error: > ------------------ > error while loading shared libraries: libgtkembedmoz.so: cannot open > shared > object file: No such file or directory > ------------------ > > The source code worked in previous releases of XULRunner, but after > upgrading to 1.9.0.12 it does not work.... That's a very confusing error, because you didn't link against libgtkembedmoz.so, and none of the libs you are loading should have linked against it either, since it shouldn't exist any more! Are you sure that you are actually loading the 1.9.0.12 version of XULRunner at runtime, and not an earlier version? You might want to check the output of `ldd` on your binary and on various libraries it's loading to see where gtkembedmoz.so is listed. You can use the LD_DEBUG environment variable to trace and debug the loading of dynamic libraries: see `man ld` for details. --BDS _______________________________________________ dev-embedding mailing list dev-embedding@... https://lists.mozilla.org/listinfo/dev-embedding |
|
|
Re: Missing libgtkembedmoz.so when upgrading XULRunner!On Aug 25, 4:05 pm, Benjamin Smedberg <benja...@...> wrote:
> On 8/25/09 6:28 AM, SimOut wrote: > > > When trying to start the application, I get this error: > > ------------------ > > error while loading shared libraries: libgtkembedmoz.so: cannot open > > shared > > object file: No such file or directory > > ------------------ > > > The source code worked in previous releases of XULRunner, but after > > upgrading to 1.9.0.12 it does not work.... > > That's a very confusing error, because you didn't link against > libgtkembedmoz.so, and none of the libs you are loading should have linked > against it either, since it shouldn't exist any more! Are you sure that you > are actually loading the 1.9.0.12 version of XULRunner at runtime, and not > an earlier version? > > You might want to check the output of `ldd` on your binary and on various > libraries it's loading to see where gtkembedmoz.so is listed. > > You can use the LD_DEBUG environment variable to trace and debug the loading > of dynamic libraries: see `man ld` for details. > > --BDS Maybe I have specified the incorrect GREVersionRange? Does my current range include 1.9.0.12: {"1.9a", PR_TRUE, "2", PR_TRUE } ? Should it be something like this {"1.9", PR_TRUE, "1.9.*", PR_TRUE} instead?? _______________________________________________ dev-embedding mailing list dev-embedding@... https://lists.mozilla.org/listinfo/dev-embedding |
|
|
Re: Missing libgtkembedmoz.so when upgrading XULRunner!On 8/25/09 7:45 AM, SimOut wrote:
> Maybe I have specified the incorrect GREVersionRange? Does my current > range include 1.9.0.12: > {"1.9a", PR_TRUE, "2", PR_TRUE } ? That looks ok, although I would probably do {"1.9", PR_TRUE, "1.9.0.*", PR_TRUE. What XULRunner is it actually finding? You can check by printing xpcomPath after GRE_GetGREPathWithProperties. --BDS _______________________________________________ dev-embedding mailing list dev-embedding@... https://lists.mozilla.org/listinfo/dev-embedding |
|
|
Re: Missing libgtkembedmoz.so when upgrading XULRunner!On Aug 25, 5:49 pm, Benjamin Smedberg <benja...@...> wrote:
> On 8/25/09 7:45 AM, SimOut wrote: > > > Maybe I have specified the incorrect GREVersionRange? Does my current > > range include 1.9.0.12: > > {"1.9a", PR_TRUE, "2", PR_TRUE } ? > > That looks ok, although I would probably do {"1.9", PR_TRUE, "1.9.0.*", PR_TRUE. > > What XULRunner is it actually finding? You can check by printing xpcomPath > after GRE_GetGREPathWithProperties. > > --BDS It works after reinstallation of XULrunner... _______________________________________________ dev-embedding mailing list dev-embedding@... https://lists.mozilla.org/listinfo/dev-embedding |
| Free embeddable forum powered by Nabble | Forum Help |