Bug 190579
Summary: | abiword does not find libgoffice | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Toshio Kuratomi <toshio> | ||||
Component: | abiword | Assignee: | Marc Maurer <uwog> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5 | CC: | extras-qa, hdegoede, jean.brefort, uwog | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-10-31 19:51:18 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Toshio Kuratomi
2006-05-03 18:59:41 UTC
Created attachment 128554 [details]
strace of abiword --g-fatal-warnings. Relevant part appears to be ~ line 12640
libgofffice is a _lib_ not a plugin and as such should not be opened through ldopen, instead the abiword plugin using libgoffice should be linked with -lgoffice. Reassinging to abiword. Indeed, Hans is correct. Will patch this upstream, and will patch it in Extras as well, as I don't expect 2.4.5 soonish. the plugin IS liked with -lgoffice, but not symbols are resolved at runtime and this breaks goffice plugins, so the use of g_module_open/g_module_close to force symbols resolution. If someone knows a cleaner solution, I'd be happy to use it. Can't you fix this by passing RTLD_NOW to the dlopen call for loading the plugin? If not can you describe the problem a bit more, your current description os rather short. I was wrong about goffice plugins. It is a libglade problem. Simplistic description: Currently, modules are loaded with the LOCAL flag. So the symbols from the plugin (and its libraries) are not loaded in the main program and libglade can't use them. As we have glade files with custom widgets, we need to make global the symbols from libgoffice. Curiously, if a widget of the same type has already been created, libglade finds it. RTLD_NOW does not fix it. I'll think a bit more about that and try to find a solution. Fixed upstream. |