Bug 7613 - libpoppler doesn't link against libfontconfig when cairo backend is chosen
Summary: libpoppler doesn't link against libfontconfig when cairo backend is chosen
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-24 05:49 UTC by Sebastian Dröge (slomo)
Modified: 2006-07-24 12:50 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.