install Qt5 on CentOS 6.4 and fix GLIBCXX_3.4.15 not found error in QT5 install

Posted: November 15, 2013 in FX Pipeline, Linux


install Qt5 on CentOS 6.4 and fix GLIBCXX_3.4.15 not found error in QT5 install

download online installer from :

execute this run file as root

this will download and install qt5 in your system

But when you start Qt5 application this Error will come in centos

[rajiv@elitebook ~]$ cd /opt/Qt5/Tools/QtCreator/bin
[rajiv@elitebook bin]$ ./qtcreator
Failed to load core: /opt/Qt5/Tools/QtCreator/lib/qtcreator/plugins/QtProject/ Cannot load library /opt/Qt5/Tools/QtCreator/lib/qtcreator/plugins/QtProject/ (/usr/lib64/ version `GLIBCXX_3.4.15′ not found (required by /opt/Qt5/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../.././


To Fix This Error:-

You need to install the glibc-devel package

yum -y install glibc-devel.i686 glibc-devel

download gcc4.6.2 from :

Go to Terminal as root

tar xzf gcc-4.6.2.tar.gz
cd gcc-4.6.2
cd ..
mkdir objdir
cd objdir
$PWD/../gcc-4.6.2/configure –prefix=/opt/gcc-4.6.2
make install

mv /usr/lib64/ /usr/lib64/

cp /opt/gcc-4.6.2/lib64/ /usr/lib64

cp /opt/gcc-4.6.2/lib64/ /usr/lib64


  1. Yi says:

    Thanks for your cool guide.
    It would be better if you correct ‘-prefix’ to ‘–prefix’. 🙂

  2. sasa says:

    Ok! It very interesing when I have online internet…

    “./contrib/download_prerequisites” – what I must
    duing? …What to copy & install when I offline???
    I open this file and download three pack others pc!
    And after I have problem with $PWD and “.” ,”..”,”-“!
    But I like this gude… Thanks BEST for your! Thanks!

    I use CentOS 6.5 x64.
    and next +- on this gude…

  3. mettabud says:

    great tutorial, thanks

  4. Poulabi Patra says:

    Thanks… It works.

  5. Thiru says:

    Thanks’s perfect..just done with my 12 hour struggle..

  6. nharder says:

    Great post, I was shocked when every step worked like magic and QT Creator ran with no issues on CentOS 6.5. Thanks!

  7. Andrey says:

    Works for me, great) Thanks from Russia)

  8. SriYank Gss says:

    How much time it takes?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s