[PyQt] Running PyQt-x11-gpl-3.17.4: undefined symbol FT_Load_Sfnt_Table

Phil Thompson phil at riverbankcomputing.com
Wed Jan 23 15:39:32 GMT 2008


On Wednesday 23 January 2008, Michael Penkov wrote:
> Hello,
>
>   I've just built sip-4.7.3 and PyQt 3.17.4.
>
>   I'm getting the following error while trying to run the examples:
>
> misha at poseidon:~/src/PyQt-x11-gpl-3.17.4$ python examples2/aclock.py
> Traceback (most recent call last):
>   File "examples2/aclock.py", line 4, in ?
>     from qt import *
> ImportError: /usr/lib/libfontconfig.so.1: undefined symbol:
> FT_Load_Sfnt_Table
>
>   I had problems building PyQt originally, it wasn't able to link with
> libfreetype.so correctly.  I got around this by passing
> LIBS_X11+=-lfreetype to the configure script.  The build ran fine.
>
>   It seems that I have missed something.  FT_Load_Sfnt_Table -- this
> function is from libfreetype.so.  Can anybody hint what it is?

It's not a PyQt specific problem - sounds like your Qt installation is broken.

Phil


More information about the PyQt mailing list