Chr*_*lla 6 c++ qt qmake std libstdc++
我想在我的CentOS系统中安装Qt.在构建库时,我收到此错误:
/root/capture/qt-everywhere-opensource-src-4.7.0/bin/qmake: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64
/root/capture/qt-everywhere-opensource-src-4.7.0/bin/qmake: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64
Run Code Online (Sandbox Code Playgroud)
似乎软链接libstdc++.so.6已被更改并指向libstdc++.so.6.0.13(64位?).我刚刚通过发出以下命令(在/usr/lib文件夹中)更改了软链接:
rm -f libstdc++.so.6
ln -s ./libstdc++.so.6.0.8 ./libstdc++.so.6
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
40024 次 |
| 最近记录: |