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 

一般来说就可以了

相关推荐
方便面不加香菜14 小时前
Linux--基础IO(一)
linux·运维·服务器
mounter62518 小时前
现代 Linux 内存管理的演进与变革:从传统 LRU 到多代架构 MGLRU
linux·服务器·kernel
赵渝强老师19 小时前
【赵渝强老师】Kubernetes(K8s)中的金丝雀升级
linux·docker·云原生·容器·kubernetes
Qt程序员19 小时前
Linux RCU 原理与应用
linux·c++·内核·linux内核·rcu
The Sheep 202319 小时前
Vue复习
linux·服务器·数据库
兄台の请冷静19 小时前
Linux 安装es
linux·elasticsearch·jenkins
fengyehongWorld20 小时前
Linux rg命令
linux
pride.li20 小时前
海思视觉Hi3516CV610--开机自动设置ip
linux·网络·网络协议·tcp/ip
我叫张小白。20 小时前
CentOS 7 安装 Docker并配置镜像加速(完整指南)
linux·docker·centos
Titan202421 小时前
Linux动静态库
linux·服务器·c++