1

我从这里下载了 linux 64 位 .run,我正在运行 64 位 CentOS:http: //qt.nokia.com/downloads

我按照指示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)
4

1 回答 1

1

你应该得到 qt 源码包并在 CentOs 上自己构建它。

或者你可以将 glibc 升级到 2.12(不推荐,因为它需要你升级很多依赖库。)

于 2012-09-10T07:59:25.310 回答