|
Bugzilla – Full Text Bug Listing |
| Summary: | monodevelop cannot find libgtkembedmoz.so | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | Marcus Camen <m.camen> |
| Component: | Mono | Assignee: | E-mail List <bnc-team-mono> |
| Status: | VERIFIED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | andreas.hanke |
| Version: | Alpha 4 plus | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
stdout / stderr of monodevelop
stdout / stderr of 2nd run stdout / stderr of monodevelop |
||
|
Description
Marcus Camen
2006-03-19 18:15:29 UTC
Created attachment 73848 [details]
stdout / stderr of monodevelop
Created attachment 73855 [details]
stdout / stderr of 2nd run
Hmmm...
Running monodevelop a second time doesn't show the problem. Maybe some kind of cache (assembly cache ?) is not initialized before the first run??
Not sure what to think of this. Lluis, any ideas? The error is about not finding the Gecko libraries (libgtkembedmoz.so), not the gecko-sharp libraries. Are those installed? are those in LD_LIBRARY_PATH? is MOZILLA_FIVE_HOME properly set? MOZILLA_FIVE_HOME is not set. suse101:/ # rpm -q -f ./usr/lib/xulrunner-1.8.0.1/libgtkembedmoz.so mozilla-xulrunner-1.8.0.1-24 Created attachment 76032 [details]
stdout / stderr of monodevelop
Try setting MOZILLA_FIVE_HOME to your mozilla libs directory. Yep, with export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.8.0.1 monodevelop works fine. Seems mozilla-xulrunner should provide /etc/profile.d/mozilla.* Do you have mozilla installed? The MonoDevelop script should be able to auto-detect where Mozilla lives if the binary for Mozilla is installed in the system. There is no mozilla anymore on 10.1.
The package which provides libgtkembedmoz.so is mozilla-xulrunner.
It's %{_libdir}/xulrunner-1.8.0.1 in 10.1
I'm not sure why setting MOZILLA_FIVE_HOME fixes this. I don't think xulrunner itself needs it.
How does Gecko# find the directory where libbgtkmozembed.so lives? Do we need to add %{_libdir}/xulrunner-1.8.0.1 to some library path? Or do we need to change the configuration of Gecko#?
Setting MOZILLA_FIVE_HOME fixes the problem becuase the monodevelop startup script adds it to LD_LIBRARY_PATH, so Mono is then able to find libgtkmozembed.so. That startup script does several checks in case MOZILLA_FIVE_HOME is not set. It tries to guess the location of libgtkmozembed.so from the location of the firefox or mozilla binary. I guess those checks are useless now that the library is installed by the xulrunner package. Do we still need this bugzilla? Please reevaluate and close the bug if appropriate. The bug still occurs in RC2 and since then the SVN factory-commit mails did not show any related changes. > Seems mozilla-xulrunner should provide /etc/profile.d/mozilla.*
I vote for this change so that MOZILLA_FIVE_HOME gets set.
Otherwise, a suse specific patch will be needed against MonoDevelop's start up script, or we'll need to use a different method of trying to determine MOZILLA_FIVE_HOME.
In openSUSE 10.2 Alpha4Plus I dont't get the error on the console anymore. But selecting Help->Web->MonoDevelop shows an error dialog ('Could not open the url http://www.monodevelop.com').
This is with monodevelop-0.12.2 and mozilla-xulrunner180-1.8.0.6-5.
Ok, seems to be fixed in 10.2 Beta1 |