Qt5.3.0 - starting error - /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found
-
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?
-
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.
-
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? -
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