[Poppler-bugs] [Bug 61289] New: poppler 0.20.5 fails to build with static libraries
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Feb 22 07:57:12 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=61289
Priority: medium
Bug ID: 61289
Assignee: poppler-bugs at lists.freedesktop.org
Summary: poppler 0.20.5 fails to build with static libraries
Severity: normal
Classification: Unclassified
OS: All
Reporter: alanh at fairlite.co.uk
Hardware: Other
Status: NEW
Version: unspecified
Component: general
Product: poppler
I'm on a system which doesn't support shared libraries so everything it linked
statically, but poppler fails to build as it doesn't pick up the static library
dependency of libfontconfig which relies on libxml2.a and libiconv.a.
As shown here....
Scanning dependencies of target poppler
[ 71%] Built target poppler
Scanning dependencies of target pdfdetach
Linking CXX executable pdfdetach
/usr/lib/libfontconfig.a(fcxml.o):fcxml.o:(.text+0x1ca): undefined reference to
`_XML_GetCurrentLineNumber'
/usr/lib/libfontconfig.a(fcxml.o):fcxml.o:(.text+0x22c): undefined reference to
`_XML_GetCurrentLineNumber'
/usr/lib/libfontconfig.a(fcxml.o):fcxml.o:(.text+0x14c4): undefined reference
to `_XML_ParserCreate'
/usr/lib/libfontconfig.a(fcxml.o):fcxml.o:(.text+0x1508): undefined reference
to `_XML_SetUserData'
/usr/lib/libfontconfig.a(fcxml.o):fcxml.o:(.text+0x1518): undefined reference
to `_XML_SetDoctypeDeclHandler'
/usr/lib/libfontconfig.a(fcxml.o):fcxml.o:(.text+0x1528): undefined reference
to `_XML_SetElementHandler'
/usr/lib/libfontconfig.a(fcxml.o):fcxml.o:(.text+0x153a): undefined reference
to `_XML_SetCharacterDataHandler'
/usr/lib/libfontconfig.a(fcxml.o):fcxml.o:(.text+0x1542): undefined reference
to `_XML_GetBuffer'
/usr/lib/libfontconfig.a(fcxml.o):fcxml.o:(.text+0x154e): undefined reference
to `_XML_ParseBuffer'
/usr/lib/libfontconfig.a(fcxml.o):fcxml.o:(.text+0x15b2): undefined reference
to `_XML_ParserFree'
/usr/lib/libfontconfig.a(fcxml.o):fcxml.o:(.text+0x185e): undefined reference
to `_XML_GetErrorCode'
/usr/lib/libfontconfig.a(fcxml.o):fcxml.o:(.text+0x1866): undefined reference
to `_XML_ErrorString'
/usr/lib/libfontconfig.a(fcfreetype.o):fcfreetype.o:(.text+0x20c4): undefined
reference to `_libiconv_open'
/usr/lib/libfontconfig.a(fcfreetype.o):fcfreetype.o:(.text+0x21d4): undefined
reference to `_libiconv'
/usr/lib/libfontconfig.a(fcfreetype.o):fcfreetype.o:(.text+0x22fa): undefined
reference to `_libiconv_close'
/usr/lib/libfontconfig.a(fcfreetype.o):fcfreetype.o:(.text+0x29bc): undefined
reference to `_libiconv_close'
/usr/lib/libfontconfig.a(fcfreetype.o):fcfreetype.o:(.text+0x2c12): undefined
reference to `_libiconv_close'
collect2: ld returned 1 exit status
make[2]: *** [utils/pdfdetach] Error 1
make[1]: *** [utils/CMakeFiles/pdfdetach.dir/all] Error 2
make: *** [all] Error 2
I can test a patch if anyone can direct me on the correct way to patch the
CMake build system.
Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130222/3dd65928/attachment.html>
More information about the Poppler-bugs
mailing list