Red Hat Bugzilla – Bug 201844
undefined symbol: cairo_xlib_surface_create
Last modified: 2007-11-30 17:11:39 EST
Description of problem:
The rawhide update of 20060809 has an error. When starting applications that
link against cairo I get this error: undefined symbol: cairo_xlib_surface_create
When reverting from cairo-1.2.2-1 to cairo-1.2.0-2 (and the pango packages
depending on it) the problem disappears.
The full error (as reported to the fedora-devel) was:
symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol:
which implies the bug lies in gtk2 (I'd bet it at least needs to be rebuilt
against the newer cairo).
Looking at the -devel package it seems xlib support is missing.
This is a bug in cairo---specifically in its configure script.
Apparently it is now looking for X packages in a way that requires libXt present
in order for it to find X, (which is not helpful as cairo doesn't actually
require libXt at all). So the end result is that cairo is built without its xlib
Behdad wrote all the relevant code in the configure script, so I'm hoping he'll
be able to shed some light on what the fix should look like. Or if anybody has
some suggestions in the meantime, that would be good too.
For now, I've added libXt-devel as a build requirement and rebuild cairo. So
things should be fixed up in tomorrow's rawhide.
(In reply to comment #4)
> For now, I've added libXt-devel as a build requirement and rebuild cairo. So
> things should be fixed up in tomorrow's rawhide.
Do i have to wait till tomorrow and run yum update to fix this issue. I am not
able to login to my gnome desktop. (Fedore Core 6 Test 2)
I'll post rpms
(In reply to comment #6)
> I'll post rpms
Thanks. I will wait for the update.
I've posted rpms here until tomorrow when the resync happens:
Thanks for the fixes, Ray. System now works again.
Additional info: KDE desktop still worked, but Gnome apps like evolution would not start. KDM
*** Bug 201859 has been marked as a duplicate of this bug. ***
*** Bug 201953 has been marked as a duplicate of this bug. ***
The new RPMS allowed me to start the Gnome Desktop. Basically after this bug, i
was unable to login to GNOME Desktop and screen will flash periodically with no
error messages. Basically made by computer unoperable. To fix this.
1. Login to root (Text mode by using GRUB), during the boot process select
append (a) and add 1 at the end. This will make system to start the text mode.
1. Start your network services if not already started and make yum download new
packages and install it.
Reboot the machine.