/opt/qtsdk-2010.02/qt/lib/libqtgui.so:undefined reference to ' Fcfreetypequeryface '

Source: Internet
Author: User
/opt/qtsdk-2010.02/qt/lib/libqtgui.so:undefined reference to ' Fcfreetypequeryface ' 2010-05-10 20:52
If You have this error under RHEL or CentOS 5.x:/home/esutton/qtsdk-2010.02/qt/lib/libqtgui.so:unde Fined reference to ' Fcfreetypequeryface ' Collect2:ld returned 1 exit status apparently libqtgui.so fails trying to use th E libfontconfig ' Fcfreetypequeryface ' method. Prior to version 2.4.2 it either did not exist or perhaps the signature is changed in version 2.4.2. Not sure which, but a updated version needs to is installed to: "'/usr/lib/libfontconfig.so.1 '" ' How to Fix Download Sou RCEs and configure to install where it expects to find IT:CD/USR/SRC wget . tar.gz tar-zxf fontconfig-2.4.2.tar.gz cd fontconfig-2.4.2./CONFIGURE-PREFIX=/USR make make install <-Run as root Or use sudo over doing this and you don't need to add the Fontconfig library location to your Qt project ' s. Pro file. LIBS + =-l/opt/fontconfig-2.4.2/lib This has worked to me on RHEL 5.3. I Hope this helps! -ed

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.