Bug 7613

Summary: libpoppler doesn't link against libfontconfig when cairo backend is chosen
Product: poppler Reporter: Sebastian Dröge (slomo) <slomo>
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Sebastian Dröge (slomo) 2006-07-24 05:49:08 UTC
Hi,
in 0.5.3 (at least) libpoppler isn't linked against libfontconfig although it
uses FcInit() and other functions. This breaks applications that use libpoppler
but don't link against libfontconfig themself.

The easy fix would be the addition of $(CAIRO_LIBS) to libpoppler_la_LIBADD in
poppler/Makefile.am.

I would recommend adding -Wl,--no-undefined to LDFLAGS to prevent such problems
in the future or make them at least easier discoverable.

Bye
Comment 1 Kristian Høgsberg 2006-07-24 12:50:16 UTC
Thanks, should be fixed in CVS.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.