2012-07-02 161 views
1

安裝QtCreator我下載的是Linux 64位.RUN從這裏,我運行64位的CentOS:http://qt.nokia.com/downloads麻煩在CentOS

我接着chmod u+x [filename.run]

我跑了./QtSdk....

的說明

我得到了這些錯誤(如下)。我試圖找到這些庫並用'yum'來安裝它們。 Yum告訴我,我所有的軟件都是最新的。我究竟做錯了什麼?

./QtSdk-offline-linux-x86_64-v1.2.1.run 
./QtSdk-offline-linux-x86_64-v1.2.1.run: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./QtSdk-offline-linux-x86_64-v1.2.1.run) 
./QtSdk-offline-linux-x86_64-v1.2.1.run: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./QtSdk-offline-linux-x86_64-v1.2.1.run) 
./QtSdk-offline-linux-x86_64-v1.2.1.run: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by ./QtSdk-offline-linux-x86_64-v1.2.1.run) 
./QtSdk-offline-linux-x86_64-v1.2.1.run: /lib64/libc.so.6: version `GLIBC_2.10' not found (required by ./QtSdk-offline-linux-x86_64-v1.2.1.run) 
./QtSdk-offline-linux-x86_64-v1.2.1.run: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by ./QtSdk-offline-linux-x86_64-v1.2.1.run) 
./QtSdk-offline-linux-x86_64-v1.2.1.run: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by ./QtSdk-offline-linux-x86_64-v1.2.1.run) 

回答

1

你應該得到qt源碼包並在CentOs上自己構建它。

或者你可以將glibc升級到2.12(不建議,因爲它需要你升級大量依賴庫)。