Bug 195208

Summary: Missing dependency causes undefined symbol gdk_screen_get_font_options
Product: [Fedora] Fedora Reporter: Jonathan Kamens <jik>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: Reopened
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.0.3-7.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-06-28 08:37:25 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:

Description Jonathan Kamens 2006-06-14 15:08:10 UTC
With openoffice.org-core-2.0.3-5.3 and older versions of some other packages:

/usr/lib/openoffice.org2.0/program/soffice.bin: symbol lookup error:
/usr/lib/openoffice.org2.0/program/libpsp680li.so: undefined symbol:
gdk_screen_get_font_options

I upgraded cairo, cairo-devel, glib2, glib2-devel, gtk2, gtk2-engines, pango,
redhat-artwork, gtk+, and gtk+-devel to make this go away.  I suspect that gtk2
was the problem, although I'm not certain.

Comment 1 Caolan McNamara 2006-06-26 09:20:48 UTC
Hmm...

> objdump -T /usr/lib/libgdk-x11-2.0.so.0.903.1 | grep gdk_screen_get_font_options
041c82e0 g    DF .text  00000071  Base        gdk_screen_get_font_options
> rpm -qf /usr/lib/libgdk-x11-2.0.so.0.903.1
gtk2-2.9.4-1
> rpm -qf /usr/lib/openoffice.org2.0/program/libpsp680li.so
openoffice.org-core-2.0.3-6.1
> rpm -qR openoffice.org-core-2.0.3-6.1|grep gdk-x11
libgdk-x11-2.0.so.0

The magic rpm lib depend stuff should have worked all this out for us, and it
does seem to show the right chain of dependancies for me above. Perhaps we can
write this off to some random foo in mirroring or the rpm depend lib generation.

Comment 2 Jonathan Kamens 2006-06-27 09:49:22 UTC
The problem is that there's an earlier version of libgdk-x11-2.0.so.0 which 
doesn't have gdk_screen_get_font_options.  I.e., the maintainers of gtk2 added 
a symbol to the library without changing the shared library versioning to 
account for the change.  Admittedly, that's a no-no that the gtk2 maintainers 
shouldn't have done, but it seems to me that the openoffice.org RPMs should 
cope with it.

I previously had gtk2-2.8.12-7 installed.

Comment 3 Caolan McNamara 2006-06-27 11:25:33 UTC
It still doesn't sound like an OOo problem to me, but I'll bump the PreReq to 2.9.3

Comment 4 Caolan McNamara 2006-06-28 08:37:25 UTC
rpm -qpR openoffice.org-core-2.0.3-7.1.i386.rpm | grep gtk2
gtk2 >= 2.9.4