Ubuntu18.04 libc.so.6: version `GLIBC_2.28‘ not found问题

目前最好的解决文章来自这里:https://blog.csdn.net/weixin_33347188/article/details/145190224

情况是这样的,在ubuntu18安装Pycharm后启动时提示GLIBC_2.28' not found

查看系统支持的GLIBC版本

复制代码
strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC_

并没有2.28

因此必须升级

bash 复制代码
sudo nano /etc/apt/sources.list
 
 
# 阿里云镜像源(备选) 适用于 Buster 的归档安全源
deb https://mirrors.aliyun.com/debian-archive/debian-security/  buster/updates main 

nano 的操作

粘贴内容之后,保存按ctrl+O 再回车,退出 按ctrl+X

导入公钥

bash 复制代码
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 112695A0E562B32A 54404762BBB6E853

这里有时也会有各种问题

类似 gpg: keyserver receive failed: Server indicated a failure

可能原因:网络 如果ubuntu是虚拟机切换 网络模式Nat改桥接

如果提示中有新的密钥,那就把原来的替换

查看软件可更新列表

bash 复制代码
 sudo apt list --upgradable

安装libc6

bash 复制代码
sudo apt install libc6-dev 

一般来说就可以了

相关推荐
orion571 天前
Missing Semester Class1:course overview and introduction of shell
linux
用户120487221611 天前
Linux驱动编译与加载
linux·嵌入式
用户805533698032 天前
Input 子系统架构:Core、Handler、Driver 三层是怎么协作的
linux·嵌入式
用户805533698032 天前
RK-Forge外设系列开篇 - 把板子从「能启动」变成「能用」:Ethernet/SPI/MMC 三个纯接线外设
linux·github·嵌入式
七歌杜金房2 天前
我终于又有了自己的 Linux 电脑
linux·debian·mac
tntxia3 天前
linux curl命令详解_curl详解
linux
扛枪的书生3 天前
Linux 网络管理器用法速查
linux
顺风尿一寸3 天前
Java Socket 内核之旅:从 SocketChannel.read() 到 tcp_recvmsg 与 epoll 的完整调用链路
linux
XIAOHEZIcode4 天前
Ubuntu 终端美化全栈指南:Bash 到 Kitty 踩坑实录
linux·ubuntu·命令行
唐青枫4 天前
别再只会用 cron:Linux systemd Timer 定时任务实战详解
linux