libQt5XcbQpa.so.5:未定义的符号:FT_Property_Set [英] libQt5XcbQpa.so.5: undefined symbol: FT_Property_Set

查看:82
本文介绍了libQt5XcbQpa.so.5:未定义的符号:FT_Property_Set的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试从python脚本运行wkhtmltopdf命令时收到此错误

I get this error when I try to run wkhtmltopdf command from my python script

/usr/bin/wkhtmltopdf: symbol lookup error: /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: undefined symbol: FT_Property_Set

推荐答案

我遇到了同样的问题,@ Ross的评论使我找到了正确的方法.无法通过 LD_LIBRARY_PATH 访问库 libfreetype.so.6 .解决此问题即可解决此问题.

I experienced the same issue and the comment of @Ross led me on the correct way. The library libfreetype.so.6 was not accessible through the LD_LIBRARY_PATH. Fixing this resolved the issue.

这篇关于libQt5XcbQpa.so.5:未定义的符号:FT_Property_Set的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆