Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    Qt5.3.0 - starting error - /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found

    Installation and Deployment
    2
    4
    4766
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rahulvishwakarma last edited by

      hi to all,

      I installed Qt5.3.0 in redhat EL 6.4, and after installing, when i started qtcreator, i got following error :-

      @[root@kaljayi bin]# ./qtcreator
      Qt: Session management error: None of the authentication protocols specified are supported

      (<unknown>:27276): Gtk-WARNING **: Attempt to load unknown IM context type 'gtk-im-context-none'
      Failed to load core: /opt/Qt5.3.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so: Cannot load library
      /opt/Qt5.3.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so:
      (/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by
      /opt/Qt5.3.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../.././libQt5CLucene.so.5))
      @

      how to overcome this problem?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        I would say than your system is a bit too old. You would probably need to build Qt yourself or update your OS.

        Also, it's a very bad idea to work as root. You could destroy something without even noticing it.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • R
          rahulvishwakarma last edited by

          thanx for your reply.
          I upgraded centos 6.4 to centos 6.5 using yum command. but still having same problem
          @[rahul@kaljayi bin]# ./qtcreator
          Qt: Session management error: None of the authentication
          protocols specified are supported
          (<unknown>:27276): Gtk-WARNING **: Attempt to load unknown
          IM context type 'gtk-im-context-none'
          Failed to load core:
          /opt/Qt5.3.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so: Cannot load
          library
          /opt/Qt5.3.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so:
          (/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by
          /opt/Qt5.3.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../.././libQt5CLucene.so.5))@
          i given following command to locate files
          @[root@kaljayi Qt Required]# locate /usr/lib64/libstdc++.so.6
          /usr/lib64/libstdc++.so.6
          /usr/lib64/libstdc++.so.6.0.13
          /usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.13-gdb.py
          /usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.13-gdb.pyc
          /usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.13-gdb.pyo

          [root@kaljayi Qt Required]# ls -l /usr/lib64/libstdc++.so.6
          lrwxrwxrwx. 1 root root 19 Jun 15 22:49 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.13

          [root@kaljayi Qt Required]# locate libCore.so
          /opt/Qt5.3.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so
          [root@kaljayi Qt Required]#
          @
          becuse there is soft link @ /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.13 @
          so it must be loaded but Qt is not doing that. What is the problem for loading? how to overcome this?

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            So you still have a OS that uses an outdated libstdc++

            You can have a look at this "thread":http://qt-project.org/forums/viewthread/25550

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • First post
              Last post