Is Qt5 supported in CentOS 5.3? Which Linux distro is supported?
-
I was using CentOS 5.3.
I got error GLIBC_2.10 , GLIBC_2.11, GLIBC_2.7, GLIBC_2.9 not found.
I tried to install the latest version of gcc-4.8.2 already, but still encounter such error.Anyone can suggest the minimum distro that is supported with Qt5?
Many thanks.
-
Any modern distro will support Qt 5.
CentOS is a little bit outdated. -
Thanks andreyc.
How about the latest version of CentOS? I would like to know if anyone successfully installed Qt5 in CentOS6.5.
-
Hi kshul,
I don't have CentOS experience myself, but you might find these posts useful:
http://qt-project.org/forums/viewthread/25488
https://qt-project.org/forums/viewthread/25550/ -
bq. CentOS is a little bit outdated.
In my previous post I meant that CenOS 5.3 is outdated. Not all CentOS.
"Distrowatch":http://distrowatch.com/table.php?distribution=centos shows that CenOS 6.5 uses glibc 2.12 which is good enough for Qt5.
-
I tried to install in CentOS 6.5 now.
I can install Qt creator by simply qt-opensource-linux-x86-5.2.1.run, but encountered the error when qtcreator is started.
Failed to load core: /opt/Qt5.2.1/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so: Cannot load library /opt/Qt5.2.1/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so: (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/Qt5.2.1/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../.././libQt5CLucene.so.5))
Then I update the GCC by the following steps
tar xzf gcc-4.8.2.tar.gz
cd gcc-4.8.2
./contrib/download_prerequisites
cd ..
mkdir objdir
cd objdir
$PWD/../gcc-4.6.2/configure --prefix=$HOME/gcc-4.6.2
makeHowever, got the error during make as follows:
[ -f stage_final ] || echo stage3 > stage_final
make[1]: Entering directory/root/Downloads/objdir' make[2]: Entering directory
/root/Downloads/objdir'
make[3]: Entering directory/root/Downloads/objdir' rm -f stage_current make[3]: Leaving directory
/root/Downloads/objdir'
make[2]: Leaving directory/root/Downloads/objdir' make[2]: Entering directory
/root/Downloads/objdir'
Configuring stage 1 in ./gmp
configure: error: invalid variable name: --enable-languages
make[2]: *** [configure-stage1-gmp] Error 1
make[2]: Leaving directory/root/Downloads/objdir' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory
/root/Downloads/objdir'
make: *** [all] Error 2Have I missed out any steps?
-
@
tar xzf gcc-4.8.2.tar.gz
$PWD/../gcc-4.6.2/configure --prefix=$HOME/gcc-4.6.2
@Is it a typo in your post or you tried to build wrong version of gcc?
I think I underestimate CentOS. I did not use it but wrongfully assumed it should not be a big problem to install Qt5 on the latest CentOS.
Take a look on this "howto":http://linux-problem-solver.blogspot.com/2013/12/installation-of-gcc-482-compilers-on.html
Maybe it will help. -
Yes. It was a typo. I am using gcc-4.8.2.
Thank you for the advice.