[Interest] Build issues with poppler 0.20.5 and Qt 4.8.1 (OSX 10.7)

Michael Jackson imikejackson at gmail.com
Sat Nov 10 15:54:18 CET 2012


The architectures of the build and the libraries do not match. This error is telling you that:

Undefined symbols for architecture x86_64:

Who built the Qt Libraries? Who built poppler? run the following command on each library to tell you what architectures are available.

file /Path/To/Qt/Library/qtcore.dylib

Then make adjustments to the build process as necessary.

Mike


On Nov 9, 2012, at 11:27 PM, yoanis at 2burbujas.net wrote:

> Hi there list,
> 
> I'm trying to build poppler 0.20.5 and I'm more specifically interested in
> the QT4 support. I'm trying to build the library agains QT 4.8.1, but I'm
> facing a build issue which I'm not sure how get pass it. Here are all
> relevant build variables:
> 
> http://pastebin.com/0jpHEm6u
> 
> I must be missing something obvious, but bottom line is that I get this
> compilation error:
> 
> Undefined symbols for architecture x86_64:
>  "QListData::detach(int)", referenced from:
>      QList<Poppler::FontInfo>::detach_helper(int)     in test-poppler-qt4.o
>      QList<Poppler::EmbeddedFile*>::detach_helper(int)      in
> test-poppler-qt4.o
>      QList<Poppler::TextBox*>::detach_helper(int)     in test-poppler-qt4.o
>  "QListData::detach_grow(int*, int)", referenced from:
>      QList<QString>::detach_helper_grow(int, int)in test-poppler-qt4.o
> ld: symbol(s) not found for architecture x86_64
> 
> I know it might seem a bit odd asking a question like mine in this list,
> but I have already asked at poppler's mailing list and it all points out
> to a linker issue, but honestly I don't know what other library to link.
> 
> Any thoughts will be appreciated.
> 
> Bests,
> 
> Yoanis.
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list