Subject: | build fails with undefined symbol: pango_cairo_font_map_get_type |
/usr/bin/perl: symbol lookup error: blib/arch/auto/Pango/Pango.so: undefined symbol: pango_cairo_font_map_get_type
this is caused by a compiler param missing a space (see patch)
Subject: | fix-pangocairo_libs.patch |
When constructing the $libs variable, there is a blank missing
before the -lpangocairo-1.0 coming from the pangocairo.pc through
pkg-config. Inserting an extra blank before the pkg-config
result fixes the issue.
--- Makefile.PL 2014-02-19 05:13:50.000000000 +0100
+++ Makefile.PL 2015-10-08 00:47:59.777157391 +0200
@@ -161,6 +161,7 @@
if ($have_cairo) {
push @deps, qw/Cairo/;
$inc .= $pangocairo_pkgcfg{cflags};
+ $libs .= ' ';
$libs .= $pangocairo_pkgcfg{libs};
}