1、下载linuxdeployqt
2、cd 到下载目录下
3、mv linuxdeployqt-6-x86_64.AppImage linuxdeployqt
4、chmod 777 linuxdeployqt
5、mv linuxdeployqt /usr/local/bin
6、测试安装是否成功
linuxdeployqt --version
7、提示version `GLIBC_2.14’ not found*
8、直接升级glibc版本至2.17
8.1 wget http://ftp.gnu.org/gnu/glibc/glibc-2.17.tar.gz
8.2 tar -xvf glibc-2.17.tar.gz
8.3 cd glibc-2.17
8.4 mkdir build; cd build
8.5 …/configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
8.6 make -j 8
8.7 make install
9、查看版本信息
9.1 ldd --version
9.2 strings /lib64/libc.so.6 |grep GLIBC_
10、再次验证linuxdeployqt是否安装成功
linuxdeployqt --version
提示:linuxdeployqt 5 (commit 37631e5), build 631 built on 2019-01-25 22:47:58 UTC
centos6 安装linuxdeployqt,并解决Centos6告警提示version `GLIBC_2.14‘ not found
最新推荐文章于 2024-04-05 12:23:38 发布