[poppler] bug in poppler+

Josh Richardson jric at chegg.com
Wed Nov 9 08:40:07 PST 2011


Oh, I remember the solution now, and it might have relevance to the list.

For FontForge, there was a configuration option for compiling, which would
use FontForge's own homegrown iconv solution (presumably for platforms
without true iconv support?)

I don't know if Poppler has, or would want to have, such an option, but
you could grep through the codebase to see if those functions exist.  I'm
guessing not.

Good luck, --josh

On 11/8/11 10:13 PM, "Josh Richardson" <jric at chegg.com> wrote:

>This is not a Poppler-specific issue, so you should probably take it
>off-list.  You need to figure out why your libiconv doesn't have the right
>symbols, and get the right library.  I remember I went through something
>similar at one point when trying to compile fontforge, but unfortunately I
>don't remember the solution.
>
>--josh
>
>On 11/8/11 9:56 PM, "Vipin Beniwal" <vipin.beniwal at stellarinfo.com> wrote:
>
>>Thanks Sir
>>I add
>>libexpat  and some other dependent library and all most error has remove
>>but al last i have following error
>>
>>LIBS     += -framework  QtXml
>>
>>
>>
>>LIBS+=/usr/TryNew/lib/libfreetype.a
>>LIBS+=/usr/TryNew/lib/libxml2.a
>>LIBS+=/usr/TryNew/lib/libpoppler-qt4.a
>>LIBS+=/usr/TryNew/lib/libpoppler.a
>>LIBS+=/usr/TryNew/lib/libexpat.a
>>LIBS+=/usr/TryNew/lib/libjpeg.a
>>LIBS+=/usr/TryNew/lib/libz.a
>>LIBS+=/usr/TryNew/lib/libbz2.a
>>LIBS+=/usr/TryNew/lib/libfontconfig.a
>>
>>LIBS+=/usr/TryNew/lib/libiconv.a
>>LIBS+=/usr/TryNew/lib/libcharset.a
>>
>>after adding above lib  i got this error only
>>
>>
>>
>>Undefined symbols:
>>  "_iconv_close", referenced from:
>>      _FcFreeTypeQueryFace in libfontconfig.a(fcfreetype.o)
>>      _FcFreeTypeQueryFace in libfontconfig.a(fcfreetype.o)
>>      _FcFreeTypeQueryFace in libfontconfig.a(fcfreetype.o)
>>  "_iconv_open", referenced from:
>>      _FcFreeTypeQueryFace in libfontconfig.a(fcfreetype.o)
>>  "_iconv", referenced from:
>>      _FcFreeTypeQueryFace in libfontconfig.a(fcfreetype.o)
>>ld: symbol(s) not found
>>collect2: ld returned 1 exit status
>>
>>
>>please suggest me a solution  thanks in advance
>>
>> vipin
>>________________________________________
>>From: Josh Richardson [jric at chegg.com]
>>Sent: Wednesday, November 09, 2011 8:21 AM
>>To: Vipin Beniwal; Albert Astals Cid; poppler at lists.freedesktop.org
>>Subject: Re: [poppler] bug in poppler+
>>
>>A Google search shows that your first missing symbol comes from libexpat.
>>Do you have it on your link line?
>>
>>On 11/8/11 6:32 PM, "Vipin Beniwal" <vipin.beniwal at stellarinfo.com>
>>wrote:
>>
>>>Dear Sir,
>>>
>>>I tried all the method  and   i got success  when i use dynamic  library
>>>dylib but i want to use static libraryin static library i got error .
>>>when i use following library  its work fine
>>>
>>>LIBS+=/usr/local/lib/libpoppler-cpp.0.dylib
>>>LIBS+=/usr/local/lib/libpoppler.18.dylib
>>>LIBS+=/usr/local/lib/libpoppler-qt4.3.dylib
>>>LIBS+=/usr/local/lib/libpoppler-qt4.dylib
>>>LIBS+=/usr/local/lib/libfontconfig.1.dylib
>>>
>>>
>>>but when i use following static library then got error
>>>
>>>LIBS+=/usr/TryNew/lib/libfontconfig.a
>>>
>>>LIBS+=/usr/TryNew/lib/libfreetype.a
>>>
>>>LIBS+=/usr/TryNew/lib/libpoppler-cpp.a
>>>
>>>LIBS+=/usr/TryNew/lib/libpoppler-qt4.a
>>>LIBS+=/usr/TryNew/lib/libpoppler.a
>>>
>>>
>>>Undefined symbols:
>>>  "_XML_SetUserData", referenced from:
>>>      _FcConfigParseAndLoad in libfontconfig.a(fcxml.o)
>>>  "_jpeg_destroy_decompress", referenced from:
>>>      DCTStream::reset()     in libpoppler.a(DCTStream.o)
>>>      DCTStream::~DCTStream()in libpoppler.a(DCTStream.o)
>>>      DCTStream::~DCTStream()in libpoppler.a(DCTStream.o)
>>>  "_jpeg_set_quality", referenced from:
>>>      JpegWriter::init(__sFILE*, int, int, int, int)in
>>>libpoppler.a(JpegWriter.o)
>>>  "_inflateEnd", referenced from:
>>>      _ft_gzip_file_done in libfreetype.a(ftgzip.o)
>>>  "QDomDocument::createCDATASection(QString const&)", referenced from:
>>>      Poppler::Annotation::store(QDomNode&, QDomDocument&) constin
>>>libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
>>>      Poppler::TextAnnotation::store(QDomNode&, QDomDocument&) constin
>>>libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
>>>  "_jpeg_set_defaults", referenced from:
>>>      JpegWriter::init(__sFILE*, int, int, int, int)in
>>>libpoppler.a(JpegWriter.o)
>>>  "QDomNode::appendChild(QDomNode const&)", referenced from:
>>>      Poppler::Annotation::store(QDomNode&, QDomDocument&) constin
>>>libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
>>>      Poppler::Annotation::store(QDomNode&, QDomDocument&) constin
>>>libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
>>>      Poppler::Annotation::store(QDomNode&, QDomDocument&) constin
>>>libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
>>>      Poppler::Annotation::store(QDomNode&, QDomDocument&) constin
>>>libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
>>>
>>>So sir thats why i m asking again when dylib  working fine then whats
>>>problem with satic library.
>>>________________________________________
>>>From: 
>>>poppler-bounces+vipin.beniwal=stellarinfo.com at lists.freedesktop.org
>>>[poppler-bounces+vipin.beniwal=stellarinfo.com at lists.freedesktop.org] On
>>>Behalf Of Albert Astals Cid [aacid at kde.org]
>>>Sent: Tuesday, November 08, 2011 9:55 PM
>>>To: poppler at lists.freedesktop.org
>>>Subject: Re: [poppler] bug in poppler+
>>>
>>>A Dimarts, 8 de novembre de 2011, Vipin Beniwal vàreu escriure:
>>>> But Sir  my proble is not solved till now please give me a solution
>>>
>>>The question is, have you tried all the suggestion we have given you?
>>>
>>>Because from reading your mails it seems you have not.
>>>
>>>Albert
>>>
>>>> ________________________________________
>>>> From:
>>>>poppler-bounces+vipin.beniwal=stellarinfo.com at lists.freedesktop.org
>>>> [poppler-bounces+vipin.beniwal=stellarinfo.com at lists.freedesktop.org]
>>>>On
>>>> Behalf Of Albert Astals Cid [aacid at kde.org] Sent: Friday, November 04,
>>>>2011
>>>> 5:43 PM
>>>> To: poppler at lists.freedesktop.org
>>>> Subject: Re: [poppler] bug in poppler+
>>>>
>>>> A Divendres, 4 de novembre de 2011, Vipin Beniwal vàreu escriure:
>>>> > Hi ,
>>>>
>>>> Hi
>>>>
>>>> > I use the following configuration string to compile poppler on my
>>>>mac
>>>>os
>>>> > -x 10.6 with static qt 4.7.3 .
>>>> >
>>>> > sisls-Mac-Pro:poppler-0.18.1 root# ./configure --prefix=/usr/new/
>>>> > --enable-static=yes --enable-libpng --disable-utils
>>>>
>>>> Stop sending the same message again and again to the list or I will
>>>> unsubscribe you from it.
>>>>
>>>> You have got more than enough answers to give you a hint on how to
>>>>solve
>>>> your problem already.
>>>>
>>>> Albert
>>>> _______________________________________________
>>>> poppler mailing list
>>>> poppler at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/poppler
>>>>
>>>> Disclaimer:
>>>>
>>>> The information contained in this e-mail, including any attachments to
>>>>it,
>>>> is confidential and intended only for the person(s) to whom it is
>>>> addressed. Any examination, distribution, disclosure, printing, or
>>>>copying
>>>> of this information, or reliance upon this information by any person
>>>>other
>>>> than the intended recipient(s) is strictly prohibited. If this e-mail
>>>>has
>>>> been misdirected and you are not the intended recipient, please notify
>>>>the
>>>> sender immediately and delete this e-mail from your system. The views
>>>>and
>>>> opinions contained in this transmission represent those of the author
>>>>and
>>>> do not necessarily reflect those of Stellar Information Systems.
>>>>Stellar
>>>> Information Systems may monitor incoming and outgoing e-mails. By
>>>>replying
>>>> to this message, you consent to this monitoring. This e-mail has been
>>>> scanned by antivirus prior to transmission. However, recipients are
>>>>advised
>>>> to apply their own antivirus detection measures to this e-mail and any
>>>> attachments upon receipt. Stellar Information Systems does not accept
>>>> liability for any damage or losses arising as a result of receiving
>>>>this
>>>> e-mail. _______________________________________________
>>>> poppler mailing list
>>>> poppler at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/poppler
>>>_______________________________________________
>>>poppler mailing list
>>>poppler at lists.freedesktop.org
>>>http://lists.freedesktop.org/mailman/listinfo/poppler
>>>
>>>Disclaimer:
>>>
>>>The information contained in this e-mail, including any attachments to
>>>it, is confidential and intended only for the person(s) to whom it is
>>>addressed. Any examination, distribution, disclosure, printing, or
>>>copying of this information, or reliance upon this information by any
>>>person other than the intended recipient(s) is strictly prohibited. If
>>>this e-mail has been misdirected and you are not the intended recipient,
>>>please notify the sender immediately and delete this e-mail from your
>>>system. The views and opinions contained in this transmission represent
>>>those of the author and do not necessarily reflect those of Stellar
>>>Information Systems. Stellar Information Systems may monitor incoming
>>>and
>>>outgoing e-mails. By replying to this message, you consent to this
>>>monitoring. This e-mail has been scanned by antivirus prior to
>>>transmission. However, recipients are advised to apply their own
>>>antivirus detection measures to this e-mail and any attachments upon
>>>receipt. Stellar Information Systems does not accept liability for any
>>>damage or losses arising as a result of receiving this e-mail.
>>>_______________________________________________
>>>poppler mailing list
>>>poppler at lists.freedesktop.org
>>>http://lists.freedesktop.org/mailman/listinfo/poppler
>>>
>>
>>
>>
>>Disclaimer:
>>
>>The information contained in this e-mail, including any attachments to
>>it, is confidential and intended only for the person(s) to whom it is
>>addressed. Any examination, distribution, disclosure, printing, or
>>copying of this information, or reliance upon this information by any
>>person other than the intended recipient(s) is strictly prohibited. If
>>this e-mail has been misdirected and you are not the intended recipient,
>>please notify the sender immediately and delete this e-mail from your
>>system. The views and opinions contained in this transmission represent
>>those of the author and do not necessarily reflect those of Stellar
>>Information Systems. Stellar Information Systems may monitor incoming and
>>outgoing e-mails. By replying to this message, you consent to this
>>monitoring. This e-mail has been scanned by antivirus prior to
>>transmission. However, recipients are advised to apply their own
>>antivirus detection measures to this e-mail and any attachments upon
>>receipt. Stellar Information Systems does not accept liability for any
>>damage or losses arising as a result of receiving this e-mail.
>>
>




More information about the poppler mailing list