Qt creator ubuntu18.04 GLIBC_2.28 not found 问题解决

 安装Qt Creator 成功后,发现启动时报错,

QtCreator/bin/qtcreator: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/xx/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6)
 

按照这篇文章的第一个办法 成功安装了gcc 2.28 ,

Ubuntu 18.04 出现GLIBC_2.28 not found的解决方法(亲测有效)_Yimning的博客-CSDN博客

在最后一步安装 libc6-dev libc6 时 会停下来要求输入yes 重启系统服务 

debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Checking for services that may need to be restarted...
Checking init scripts...
正在将 libc6:amd64 (2.28-10+deb10u2) 解包到 (2.27-3ubuntu1.6) 上 ...
正在设置 libc6:amd64 (2.28-10+deb10u2) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Checking for services that may need to be restarted...
Checking init scripts...
Configuring libc6:amd64
-----------------------

There are services installed on your system which need to be restarted when certain libraries, such as libpam, libc, and libssl, are upgraded. Since these restarts may
cause interruptions of service for the system, you will normally be prompted on each upgrade for the list of services you wish to restart.  You can choose this option 
to avoid being prompted; instead, all necessary restarts will be done for you automatically so you can avoid being asked questions on each library upgrade.

Restart services during package upgrades without asking? [yes/no] yes

Restarting services possibly affected by the upgrade:
  slapd: restarting...done.
  cups: restarting...done.
  cron: restarting...done.

Services restarted successfully.
 

执行此命令

 strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC_
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_2.18
GLIBC_2.22
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_2.27
GLIBC_2.28
GLIBC_PRIVATE
就安装成功了,此时qtcreator 也可以启动了

  • 28
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值