[poppler] Poppler Compilation Issue

Josh Richardson jric at chegg.com
Fri Dec 2 09:48:01 PST 2011


You can use "make VERBOSE=1" to see the compile / link lines that are failing.  Shot in the dark, maybe you could add –fPIC to your compile / link options.

--josh

From: M Naveed Akram <cmnajs at gmail.com<mailto:cmnajs at gmail.com>>
Date: Fri, 2 Dec 2011 06:00:37 -0800
To: suzuki toshiya <mpsuzuki at hiroshima-u.ac.jp<mailto:mpsuzuki at hiroshima-u.ac.jp>>
Cc: poppler <poppler at lists.freedesktop.org<mailto:poppler at lists.freedesktop.org>>
Subject: Re: [poppler] Poppler Compilation Issue

I am trying to install poppler from source. I ran './configure' and then 'make' and getting the output

here is a little more output


make[3]: Entering directory `/root/poppler/poppler'
  CXX    SplashOutputDev.lo
  CXX    Annot.lo
  CXX    Array.lo
  CXX    BuiltinFont.lo
  CXX    BuiltinFontTables.lo
  CXX    CachedFile.lo
  CXX    Catalog.lo
  CXX    CharCodeToUnicode.lo
  CXX    CMap.lo
  CXX    DateInfo.lo
  CXX    Decrypt.lo
  CXX    Dict.lo
  CXX    Error.lo
  CXX    FileSpec.lo
  CXX    FontEncodingTables.lo
  CXX    Form.lo
  CXX    FontInfo.lo
  CXX    Function.lo
  CXX    Gfx.lo
  CXX    GfxFont.lo
  CXX    GfxState.lo
  CXX    GlobalParams.lo
  CXX    Hints.lo
  CXX    JArithmeticDecoder.lo
  CXX    JBIG2Stream.lo
  CXX    Lexer.lo
  CXX    Link.lo
  CXX    LocalPDFDocBuilder.lo
  CXX    NameToCharCode.lo
  CXX    Object.lo
  CXX    OptionalContent.lo
  CXX    Outline.lo
  CXX    OutputDev.lo
  CXX    Page.lo
  CXX    Parser.lo
  CXX    PDFDoc.lo
  CXX    PDFDocFactory.lo
  CXX    ProfileData.lo
  CXX    PreScanOutputDev.lo
  CXX    PSTokenizer.lo
  CXX    StdinCachedFile.lo
  CXX    StdinPDFDocBuilder.lo
  CXX    Stream.lo
  CXX    UnicodeMap.lo
  CXX    ViewerPreferences.lo
  CXX    XRef.lo
  CXX    PSOutputDev.lo
  CXX    TextOutputDev.lo
  CXX    PageLabelInfo.lo
  CXX    SecurityHandler.lo
  CXX    XpdfPluginAPI.lo
  CXXLD  libpoppler.la<http://libpoppler.la>
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a(functexcept.o): relocation R_X86_64_32 against `std::bad_typeid::~bad_typeid()' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libpoppler.la<http://libpoppler.la>] Error 1
make[3]: Leaving directory `/root/poppler/poppler'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/poppler/poppler'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/poppler'
make: *** [all] Error 2


2011/12/2 suzuki toshiya <mpsuzuki at hiroshima-u.ac.jp<mailto:mpsuzuki at hiroshima-u.ac.jp>>
It might be difficult for most subscribers to understand what you did and
what you get, so it might be difficult for them to help...

Regards,
mpsuzuki

M Naveed Akram wrote:
> Hi,
>
> I am receiving following error while make:
>
>
> /usr/bin/ld:
> /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a(functexcept.o): relocation
> R_X86_64_32 against `std::bad_typeid::~bad_typeid()' can not be used when
> making a shared object; recompile with -fPIC
> /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a: could not read symbols:
> Bad value
> collect2: ld returned 1 exit status
>
>
> Can someone help me to resolve this issue
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org<mailto:poppler at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/poppler




--
Regards
M Naveed Akram<http://naveedakram.info/>
Web Application Programmer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20111202/2e0fedbf/attachment-0001.htm>


More information about the poppler mailing list