安装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 也可以启动了