Fedora17 installation of Qt5.0.0/usr/bin/ld: cannot find-lGL Solution

Source: Internet
Author: User

Fedora17 installation of Qt5.0.0/usr/bin/ld: cannot find-lGL solution if it is fedora17 installation of Qt5.0.0, after the installation is complete, run the project:/usr/bin/ld: cannot find-lGL-I: The corresponding library file www.2cto.com cannot be found. solution: the following operations are performed under the root permission! 1. follow the prompts to install the corresponding library file. The format of the fedora installation library is yum install libxxx (the library you want to install). If the GL library has been installed, the installation Ps is displayed: if the prompted library file name is in uppercase, yum must be in uppercase during installation; otherwise, 2 of the corresponding library cannot be found. after the library file is installed, it cannot run immediately. If there is no library header file, the compiler cannot detect the Library, and the library header file needs to be installed. The format of the ora library header file is as follows: yum install libxxx-devel. After the above steps are completed in uppercase, the complete command [plain] yum install libGL-devel is attached.

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.