Installing Qt on Linux CentOS 5.4 or 5.5
-
wrote on 14 Apr 2011, 08:26 last edited by
Hi,
I am not able to install Qt SDK 1.1 beta on my Linux CentOS 5.5.It says it does not have the required GLIB..below is the message i was informed
[root@localhost mnt]# ./Qt_SDK_Lin64_offline_v1_1_beta_en.run
./Qt_SDK_Lin64_offline_v1_1_beta_en.run: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./Qt_SDK_Lin64_offline_v1_1_beta_en.run)..where can I get that GLIBCXX_3.4.9 and how to install it ?? can somebody shed light on this ??
-
wrote on 14 Apr 2011, 08:42 last edited by
"Something similar.":http://stackoverflow.com/questions/1952146/glibcxx-3-4-9-not-found
Which version is your gcc?
-
wrote on 14 Apr 2011, 08:44 last edited by
gcc is 4.1.2..
-
wrote on 14 Apr 2011, 09:13 last edited by
Same here on RHEL5.2. It's a documented bug, and the link is... this one (http://bugreports.qt.nokia.com/browse/QTBUG-16383 ). Reason for that behavior is found here (i think) (http://bugreports.qt.nokia.com/browse/QTSDK-381 ).
As i'm working day & night with Qt, what I did was:
- download "qt-everywhere-opensource-src-4.7.2.tar.gz"
- follow instructions on compiling and installing (README or INSTALL file)
- download "qt-creator-2.1.0-src.zip"
- follow instructions on compiling and installing (README file)
- continue working with the new version of qt creator
Lenghty process, though... About 3h on a Q9400+QuadroFX5500+etc.
EDIT: correcting links
-
wrote on 14 Apr 2011, 10:05 last edited by
thanks a million..lemme try this
-
wrote on 14 Apr 2011, 10:55 last edited by
kindly also lemme know if any extra settings are required..
-
wrote on 14 Apr 2011, 11:40 last edited by
Mmm... I think CentOS (or RHEL) ISO or DVD is to be kept close at all times. I have the RHEL one in ISO format right in the Desktop...
Anyway,
- I don't recall installing anything but the two Qt packages mentioned. I don't know if any of the packages I have installed is also required.
- There were no extra settings needed, just "./configure", "./make" and "./make install" for Qt 4.7.2 and "./qmake ../qtcreator.pro" and "make" for Qt Creator), although this depends on your specific system, project, other libraries used...
Will keep reading! :)
PS: the files are INSTALL for Qt 4.7.2 and README for Qt Creator 2.1.0
PPS: i don't recommend trying Qt Creator 2.2.0 as I couldn't compile it successfully...--
-
wrote on 14 Apr 2011, 12:15 last edited by
Thanks a lot...I will install it and get back to you for giving many more thanks :-)
1/8