[poppler] Build issues with poppler 0.20.5 and Qt 4.8.1

yoanis at 2burbujas.net yoanis at 2burbujas.net
Tue Nov 13 08:27:32 PST 2012


Hi David,

I actually figured out the issue. Problem was that I had 3 Qt versions
running on my env:

Qt4.4 - from Macports
Qt4.7 - no clue where it came from :D
Qt4.8 - downloaded and installed by myself

Once I got rid of the unwanted version, everything worked again.

Thanks a lot guys for your help. Hope my experience can help people, at
least to avoid such a mess on their dev environment ;).

Regards,

Yoanis.

> Both poppler and okular  are available on MacPorts where they build 64
> bit by default on 64 bit platforms.
> MacPorts will automatically install all necessary dependencies and is
> currently using Qt 4.8.3.
>
> To use MacPorts:
>
> Download and install MacPorts. See http://www.macports.org/install.php.
>
> Install poppler 0.20.5 with Qt and Quartz support
>
> $ sudo port install poppler +qt4 +quartz
>
> Install okular
>
> $ sudo port install okular
>
> Further support is available on the macports-users list
> (http://lists.macosforge.org/mailman/listinfo/macports-users/)
>
> Hope this helps,
>
> Dave
>
> On 11/10/12 9:01 AM, yoanis at 2burbujas.net wrote:
>> After asking around at qt-interests mailing list, it seems my issue is
>> related to the build architecture. How can I make sure poppler is been
>> built with 64 bits support?
>>
>> Also, what's the right way to output build commands (full compilation,
>> linking command line)?
>>
>> Regards,
>>
>> Yoanis.
>>
>>
>>
>>
>>> El Divendres, 9 de novembre de 2012, a les 12:51:06,
>>> yoanis at 2burbujas.net
>>> va
>>> escriure:
>>>> 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
>>> Seems like some library is missing in some linker path (yeah i'm so
>>> helpful)
>>>
>>> I'm not really knowledgeable of the Mac toolchain so can't really help
>>> sorry,
>>> but don't fink or the other thingie that gives linux-like packaging to
>>> mac
>>> have
>>> poppler? Maybe you can check there.
>>>
>>> Cheers,
>>>   Albert
>>>
>>>> Any thoughts will be appreciated.
>>>>
>>>> Bests,
>>>>
>>>> Yoanis.
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>
>> _______________________________________________
>> 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
>




More information about the poppler mailing list