Library load failed: libcairo.so.2 #682

Closed
proft opened this Issue Jan 10, 2017 · 11 comments

Projects

None yet

5 participants

@proft
proft commented Jan 10, 2017 edited

Hello!

I have terminix 1.4.2-2 and cairo 1.14.8-1.
When I start terminix I get

object.Exception@../../.dub/packages/gtk-d-3.3.1/gtk-d/src/gtkc/Loader.d(123): Library load failed: libcairo.so.2

Before 1.4.0 everything works like a charm :)

My system is Arch Linux and I have tried reinstall terminix and cairo.

@piotr-szpetkowski

+1 same issue under latest arch linux

@piotr-szpetkowski

@proft downgrading harfbuzz package to 1.3.4 solves the issue temporarily.

You can do that by for example using the version cached by pacman:

$ cd /var/cache/pacman/pkg
$ sudo pacman -U harfbuzz-1.3.4-1-x86_64.pkg.tar.xz

However the real issue is not caused by terminix or harfbuzz, but by infinality-bundle (if you are using it), so I suppose that the actual solution would be to uplift linked harfbuzz in there.

@proft
proft commented Jan 10, 2017

@piotr-szpetkowski thanks for hint but I have moved to xfce terminal temporarily :)
by the way, I don't have infinality-bundle in my system so maybe the issue is between terminix and cairo ...

@proft
proft commented Jan 10, 2017

audacious don't start too :( it says that libharfbuzz.so.0: undefined symbol
so, probably the issue is in harfbuzz

@phw
Contributor
phw commented Jan 10, 2017

Working fine here with up-to-date Arch with harfbuzz 1.4.1. But this sounds a lot like the harfbuzz / infinality incompatibility discussed a lot in the Arch forums the last days. Are you sure you are using an unpatched freetype2 from the Arch repositories? What's your output of pacman -Qs freetype?

@phw
Contributor
phw commented Jan 10, 2017

so I suppose that the actual solution would be to uplift linked harfbuzz in there.

If infinality is really the issue here the actual solution is to replace it with the freetype2 package.

@proft
proft commented Jan 10, 2017

@phw I don't use infinality.
I use freetype2 2.6.5-2. Yes, old version, I've added it to IgnorePkg but it works as I want.

@arcticicestudio
arcticicestudio commented Jan 10, 2017 edited

I think this is a general problem at the moment, after upgrading my system at my job today (3 week vacation) and restarted the whole system seems to be broken:

  • GNOME Shelll transparent and flickering
  • no more SVG icons are rendered, so the whole icon theme is disabled
  • As soon as you try to open the "All Applications" GNOME activity overview X11 crashes, session exists with critical log and you'e back at the GDM login screen

I had to downgrade every package (178!) manually and tried to analyze which package exactly caused this massive break. There are many Reddit threads where people traced it back to the infinality-bundle packages too. These packages are actually out of date and the official freetype2 package already ported its functionality in version 2.7, so everyone should use the freetype2 package again. It now supports various modes which includes a infinality, but their v40 is even better.
Also as mentioned the broken SVG rendering is caused by the gdk-pixbuff2 package which resulted in many new bug reports since it broke almost every GNOME system 😆

Here is a Gist that helps to finally replace infinality with freetype2

Reddit threads:

@phw
Contributor
phw commented Jan 10, 2017

@phw I don't use infinality.
I use freetype2 2.6.5-2. Yes, old version, I've added it to IgnorePkg but it works as I want.

No, it worked (past sentence) as you wanted, now it's broken ;) Since you are using Arch partial updates are unsupported. Update freetype2 and be done.

In any way, this issue should be closed. If necessary this discussion should be moved over to https://bbs.archlinux.org

@gnunn1 gnunn1 added the Upstream label Jan 10, 2017
@gnunn1
Owner
gnunn1 commented Jan 10, 2017

Even though this isn't a terminix bug, I'll leave this up for awhile so people can see it if they run into the issue.

@proft
proft commented Jan 10, 2017 edited

Well, I've updated freetype2 and terminix successfully started.
Thanks!
But after that chromium has ugly hint ... this is another story :)

@proft proft closed this Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment