python3: symbol lookup error: /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: undefined symbol: FT_Get_Font_Format
-
Trying to load a basic .ui file via python but running python code prompts error:
python3: symbol lookup error: /localhome/lab/FaizanEnv/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5: undefined symbol: FT_Get_Font_Format
command "echo $LD_LIBRARY_PATH" provides /usr/lib/x86_64-linux-gnu
Not sure what the issue is.....really want to get it working which at this point is just having the GUI show up. I have a Debian 8 system with 5.3 qt version (displayed by "qmake --version" command below)
qmake --version QMake version 3.0 Using Qt version 5.3.2 in /usr/lib/x86_64-linux-gnu
-
@worldsnexthero What PyQt version do you use?
-
PyQt 5.3 - i am assuming this is what works with Debian 8?
-
@worldsnexthero
Not my area, but your error has been reported before. Start from https://superuser.com/questions/1451321/qt-startup-error-symbol-lookup-error-libqt5xcbqpa-so-5-undefined-symbol-ft-g ? If not https://askubuntu.com/questions/1223826/how-can-i-fix-libqt5xcbqpa-so-5-undefined-symbol-ft-get-font-format-when-i or https://stackoverflow.com/questions/60553662/symbol-lookup-error-undefined-symbol-ft-get-font-format. One of those (hopefully first) resolves you?