Centos6.5 qt 安装

1,centos linux系统必须预先以安装x Server(KDE or GNOME)

2,wget http://download.qt-project.org/official_releases/qt/5.4/5.4.0/qt-opensource-linux-x64-5.4.0.run  (软件包下载链接)

http://download.qt.io/official_releases/qt/5.4/5.4.0/   (软件介质参考链接)

3,问题解决

Error during installation process (qt.54.gcc_64):
Execution failed(Unexpected exit code: 1): "/opt/Qt5.4.0//Tools/QtCreator/bin/sdktool addQt --id qt.54.gcc_64 --name Qt %{Qt:Version} GCC 64bit --type Qt4ProjectManager.QtVersion.Desktop --qmake /opt/Qt5.4.0/5.4/gcc_64/bin/qmake"

 

Error during installation process (qt.54.gcc_64):
Execution failed(Unexpected exit code: 1): "/opt/Qt5.4.0//Tools/QtCreator/bin/sdktool addQt --id qt.54.gcc_64 --name Qt %{Qt:Version} GCC 64bit --type Qt4ProjectManager.QtVersion.Desktop --qmake /opt/Qt5.4.0/5.4/gcc_64/bin/qmake"

可以看到没有GLIBCXX_3.4.15这个版本,下载一个新版本

http: //ftp.de.debian.org/debian/pool/main/g/gcc-4.7/libstdc++6_4.7.2-5_i386.deb

 4.解压文件

ar -x libstdc++6_4.7.2-5_i386.deb
tar -zxvf data.tar.gz

 出现usr文件夹。进入usr/lib/i386-linux-gnu目录

cd usr/lib/i386-linux-gnu

5.将libstdc++.so.6.0.17文件复制到 /usr/lib 文件夹下面

sudo cp libstdc++.so.6.0.17 /usr/lib

 6.进入/usr/lib文件夹下,建立新的软链接

sudo ln -sf libstdc++.so.6.0.17 libstdc++.so.6

 7.再查看一次

strings /usr/lib/libstdc++.so.6 | grep GLIBC

 

libstdc++ 搞版本下载链接

http://ftp.de.debian.org/debian/pool/main/g/gcc-4.7/libstdc++6_4.7.2-5_i386.deb

下载一个新版本

http: //ftp.de.debian.org/debian/pool/main/g/gcc-4.7/libstdc++6_4.7.2-5_i386.deb

 4.解压文件

ar -x libstdc++6_4.7.2-5_i386.deb
tar -zxvf data.tar.gz

 出现usr文件夹。进入usr/lib/i386-linux-gnu目录

cd usr/lib/i386-linux-gnu

5.将libstdc++.so.6.0.17文件复制到 /usr/lib 文件夹下面

sudo cp libstdc++.so.6.0.17 /usr/lib

 6.进入/usr/lib文件夹下,建立新的软链接

sudo ln -sf libstdc++.so.6.0.17 libstdc++.so.6

 7.再查看一次

strings /usr/lib/libstdc++.so.6 | grep GLIBC
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值