You are not logged in.

#1 2014-10-17 20:32:49

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

[Solved] error: /usr/lib/libgdk-3.so.0: undefined symbol: cairo_s

Since updating gtk I'm getting a number of apps refusing to open, with the following error:

symbol lookup error: /usr/lib/libgdk-3.so.0: undefined symbol: cairo_surface_set_device_scale

???

Last edited by emacsomancer (2014-12-15 15:23:55)

Offline

#2 2014-10-17 20:42:28

Scimmia
Fellow
Registered: 2012-09-01
Posts: 8,836

Re: [Solved] error: /usr/lib/libgdk-3.so.0: undefined symbol: cairo_s

Is your entire system up to date? You only mentioned updating gtk.

Offline

#3 2014-10-17 21:18:23

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

Re: [Solved] error: /usr/lib/libgdk-3.so.0: undefined symbol: cairo_s

The system is up-to-date with the exception of the kernel (I'm on PAE) and consequently nvidia. (I have now rolled back the gtk updates and I, unsurprisingly, no longer get the error.)

Last edited by emacsomancer (2014-10-17 21:20:13)

Offline

#4 2014-10-17 21:23:44

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 1,887

Re: [Solved] error: /usr/lib/libgdk-3.so.0: undefined symbol: cairo_s

pacman -Qs cairo ?

Offline

#5 2014-10-17 21:32:50

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

Re: [Solved] error: /usr/lib/libgdk-3.so.0: undefined symbol: cairo_s

arojas wrote:

pacman -Qs cairo ?

local/cairo-perl 1.104-2
    Perl wrappers for cairo
local/cairo-ubuntu 1.12.16-2
    Cairo vector graphics library, with Ubuntu's LCD rendering patches
local/cairomm 1.10.0-3
    C++ bindings to Cairo vector graphics library
local/libtiger 0.3.4-4
    A rendering library for Kate streams using Pango and Cairo
local/pixman 0.32.6-1
    The pixel-manipulation library for X and cairo
local/python-cairo 1.10.0-4
    Python bindings for the cairo graphics library
local/python2-cairo 1.10.0-2
    Python2 bindings for the cairo graphics library

Offline

#6 2014-10-17 21:36:49

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 1,887

Re: [Solved] error: /usr/lib/libgdk-3.so.0: undefined symbol: cairo_s

emacsomancer wrote:

local/cairo-ubuntu 1.12.16-2
    Cairo vector graphics library, with Ubuntu's LCD rendering patches

Well, there's your problem

Offline

#7 2014-10-17 21:56:08

Ichigo-Roku
Member
Registered: 2012-01-15
Posts: 35

Re: [Solved] error: /usr/lib/libgdk-3.so.0: undefined symbol: cairo_s

I had the same problem, using cairo instead cairo-ubuntu fixed the problem, thanks!

Offline

#8 2014-10-18 01:49:55

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

Re: [Solved] error: /usr/lib/libgdk-3.so.0: undefined symbol: cairo_s

arojas wrote:
emacsomancer wrote:

local/cairo-ubuntu 1.12.16-2
    Cairo vector graphics library, with Ubuntu's LCD rendering patches

Well, there's your problem

ah! cheers!

Offline

#9 2014-11-08 16:50:04

zobi8225
Member
Registered: 2013-06-24
Posts: 2

Re: [Solved] error: /usr/lib/libgdk-3.so.0: undefined symbol: cairo_s

hi, sorry for the newbee question but i have the same probleme :


➜  ~  sudo pacman -Qs cairo
local/cairo-infinality-ultimate 1.12.16-3 (infinality-bundle)
    Cairo vector graphics library with respect-fontconfig, expose and Ubuntu patches (infinality-bundle)
local/cairomm 1.10.0-3
    C++ bindings to Cairo vector graphics library
local/goocanvas1 1.0.0-3
    A cairo canvas widget for GTK+
local/lib32-cairo-infinality-ultimate 1.12.16-3 (infinality-bundle-multilib)
    Cairo vector graphics library with respect-fontconfig, expose and Ubuntu patches (32-bit, infinality-bundle)
[....]

➜  ~  sudo pacman -R cairo-infinality-ultimate       
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: awesome: requires cairo
:: cairomm: requires cairo
:: gst-plugins-good: requires cairo
:: gstreamer0.10-good-plugins: requires cairo
:: gtk2: requires cairo
:: gtk3: requires cairo
:: lib32-cairo-infinality-ultimate: requires cairo-infinality-ultimate
:: libgdiplus: requires cairo
:: libgxps: requires cairo
:: pango: requires cairo
:: poppler: requires cairo
:: python-cairo: requires cairo
:: python-gobject: requires cairo
:: python2-cairo: requires cairo
:: python2-gobject: requires cairo
:: scribus: requires cairo


How can we replace cairo-infinality-ultimate with simple cairo ?

Offline

#10 2014-11-10 08:49:32

Bersam
Member
From: Nowhere
Registered: 2010-10-03
Posts: 32
Website

Re: [Solved] error: /usr/lib/libgdk-3.so.0: undefined symbol: cairo_s

zobi8225 wrote:

hi, sorry for the newbee question but i have the same probleme :


➜  ~  sudo pacman -Qs cairo
local/cairo-infinality-ultimate 1.12.16-3 (infinality-bundle)
    Cairo vector graphics library with respect-fontconfig, expose and Ubuntu patches (infinality-bundle)
local/cairomm 1.10.0-3
    C++ bindings to Cairo vector graphics library
local/goocanvas1 1.0.0-3
    A cairo canvas widget for GTK+
local/lib32-cairo-infinality-ultimate 1.12.16-3 (infinality-bundle-multilib)
    Cairo vector graphics library with respect-fontconfig, expose and Ubuntu patches (32-bit, infinality-bundle)
[....]

➜  ~  sudo pacman -R cairo-infinality-ultimate       
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: awesome: requires cairo
:: cairomm: requires cairo
:: gst-plugins-good: requires cairo
:: gstreamer0.10-good-plugins: requires cairo
:: gtk2: requires cairo
:: gtk3: requires cairo
:: lib32-cairo-infinality-ultimate: requires cairo-infinality-ultimate
:: libgdiplus: requires cairo
:: libgxps: requires cairo
:: pango: requires cairo
:: poppler: requires cairo
:: python-cairo: requires cairo
:: python-gobject: requires cairo
:: python2-cairo: requires cairo
:: python2-gobject: requires cairo
:: scribus: requires cairo


How can we replace cairo-infinality-ultimate with simple cairo ?

simply install cairo:

`pacman -S cairo`

it will ask you that you sure to replace cairo-infinality-ultimate with cairo, and you answer yes. pacman will take care of those dependency stuff.

Offline

Board footer

Powered by FluxBB