Install QT on centos

Source: Internet
Author: User

Download qt5 SDK

: Http://qt-project.org/downloads. 2. after qt5 is installed and downloaded, if it is placed in download/, switch to the directory and enter :. /qt-linux-opensource-5.0.0-x86-offline.run run; the following error occurs :. /qt-linux-opensource-5.0.0-x86-offline.run:/usr/lib/libstdc ++. so.6: Version 'glibcxx _ 3.4.15 'not found (required. qt-linux-opensource-5.0.0-x86-offline.run) 3. the reason for resolving this error is that the current GCC version does not have glibcxx_3.4.15 and a later version is required. We can enter strings/usr/lib/libstdc ++. so.6 | grep glibcxx. Check the current GCC version. The result is as follows:
Glibc_2.0 glibc_2.3 glibc_2.4 glibc_2.1 glibc_2.1.3 glibc_2.3.2 glibc_2.2 glibcxx_force_new glibcxx_debug_message_length visible no glibcxx_3.4.15. download the new version at: Latest /. Decompress: Ar-x libstdc ++ 6_4.7.2-5_i386.deb & tar xvf data.tar.gz after decompression, the download/usr directory appears; 1) CD download/usr/lib/i380-linux-gun2) Su root3) CP libstdc ++. so.6.0.17/usr/lib4) CD/usr/lib5) Rm libstdc ++. so.66) ln libstdc ++. so.6.0.17 libstdc ++. then, enter strings/usr/lib/libstdc ++. so.6 | grep glibcxx. The result is: glibcxx_3.4 glibcxx_3.4.1 glibcxx_3.4.2 glibcxx_3.4.3 using glibcxx_3.4.5 using glibcxx_3.4.7 using glibcxx_3.4.10 glibcxx_3.4.11 without modification.
Glibcxx_3.4.14 glibcxx_3.4.15 glibcxx_3.4.16 glibcxx_3.4.17 glibcxx_debug_message_length. Check that glibcxx_3.4.15 is available! 3. Switch to download again to run and install qt5.

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.