Results 1 to 5 of 5

Thread: Error while installing QT5

  1. #1
    Join Date
    Apr 2013
    Posts
    1
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Post Error while installing QT5

    Hi,

    I am newbie trying to learn QT.
    I have issues installing QT5.

    Steps followed to install Qt are

    1) I tried to install QT5 using ./qt-linux-opensource-5.0.2-x86_64-offline.run and I get the below error:

    Error: ./qt-linux-opensource-5.0.2-x86_64-offline.run : /usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found ( required by ./qt-linux-opensource-5.0.2-x86_64-offline.run)

    2) I checked the gcc version installed : it was gcc version 4.4.7 (Red Hat 4.4.7-3) (GCC)

    3) Output of strings /usr/lib/libstdc++.so.6 | grep GLIBCXX_3.4 shows GLIBCXX_3.4 to GLIBCXX_3.4.13 but not GLIBCXX_3.4.15

    4) So when I try to install GCC higher version (gcc 4.7) using ./configure , I get dependency errors. GMP, MFPR and MPC required.

    Kindly advice on how to proceed and succesfully install QT5 in my RedHat Linux machine.

    Thanks & Regards,
    Vidh

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Error while installing QT5

    Install the dependencies for your compiler if you need to upgrade it.

  3. The following user says thank you to ChrisW67 for this useful post:

    vidh (29th April 2013)

  4. #3
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Error while installing QT5

    Quote Originally Posted by vidh View Post

    Error: ./qt-linux-opensource-5.0.2-x86_64-offline.run : /usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found ( required by ./qt-linux-opensource-5.0.2-x86_64-offline.run)
    apt-get install ia32-libs

  5. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Error while installing QT5

    Is installing 32 bit compatibility libs going to help with a 64-bit install of Qt?

  6. #5
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Error while installing QT5

    For a case of 64-bit, he may try installing the required version of it.
    but, Either your version is not new enough or the newest version of libstdc++.so.6 cannot be found on your system. You may try upgrading the GCC as Chris said. But, if it didn't work out, do set the environment path. Not found does not necessarily mean the library is not installed.

Similar Threads

  1. Error while installing Qt from source (4.7.4)
    By sattu in forum Installation and Deployment
    Replies: 3
    Last Post: 25th February 2013, 08:20
  2. Error when installing PyQt4
    By melanez in forum Installation and Deployment
    Replies: 0
    Last Post: 8th November 2011, 14:49
  3. linker error when installing 4.7.1
    By ajax in forum Installation and Deployment
    Replies: 7
    Last Post: 23rd February 2011, 17:50
  4. error about installing qwt
    By dycjiaoda in forum Qwt
    Replies: 2
    Last Post: 8th February 2011, 07:42
  5. Error installing qt
    By superteny in forum Installation and Deployment
    Replies: 1
    Last Post: 18th May 2009, 12:07

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.