Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] glib2 dependent spells

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Treeve Jelbert <treeve AT scarlet.be>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] glib2 dependent spells
  • Date: Tue, 17 Apr 2018 12:17:35 +0200

glib2 now uses meson build.
One consequnce of this is that .la files are no longer installed.
Some spells which use glib2 may have their own .la files which still reference the non-existent g*-2.0.la files.
I detected this by grepping the .la files in /usr/lib.
In most cases this does not matter, as this will be fixed when those spells are recast. However, in some cases this invalid is poropogated recursively.
In the particular case of cairo, harfbuzz and freetype2 there is cyclic dependency loop which makes it impossible to to cast any of these spells while the others are still instelled. Dispelling then and then recasting them will eventually solve the problem.

An alternative solution might be to run a small script which replaces the various g*-2.0.la references in .la files by the equivalent .so file. I might try this on my laptop which has not been updated for months.

The problem only affects spells which rely on libtool and glib2. Those using pkgconfig, meson and cmake do not look at .la files.

Regards, Treeve




Archive powered by MHonArc 2.6.24.

Top of Page