找不到GLIBC_2.27 Ubuntu 16.04 [英] GLIBC_2.27 not found Ubuntu 16.04

查看:2225
本文介绍了找不到GLIBC_2.27 Ubuntu 16.04的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要运行的软件之一需要GLIBC_2.27,而我所看到的只是控制台上的此错误:

One of the software I want to run needs GLIBC_2.27, and all I see is this error on the console:

/lib/x86_64-linux-gnu/libm.so.6: version 'GLIBC_2.27" not found

当我运行此命令ldd --version时,我得到以下输出:

When I run this command ldd --version I get this output:

ldd(Ubuntu GLIBC 2.23-0ubuntu11) 2.23

如何将GLIBC更新为2.27并摆脱上述错误?

How can I update GLIBC to 2.27 and get rid of the above error?

推荐答案

如何将GLIBC更新为2.27并摆脱上述错误?

How can I update GLIBC to 2.27 and get rid of the above error?

虽然可以做到,但也有一些缺点:

While it's possible to do, there are some disadvantages:

  1. 如果在此过程中犯了 any 错误,将使系统无法启动.最好准备好恢复媒体,并知道如何使用它来手动挂载根文件系统并进行修复.
  2. 虽然GLIBC具有高度的向后兼容性,但是依赖未定义行为的现有程序可能会中断.
  1. If you make any mistake in the process, you will render the system un-bootable. Better have recovery media ready and know how to use it to manually mount your root filesystem and repair it.
  2. While GLIBC is highly backward compatible, existing programs that depend on undefined behavior may break.

您最好的选择是在chroot环境或Docker容器中运行此新程序.

Your best bet is to run this new program in a chroot environment or in a docker container.

您的下一个最佳选择是与系统GLIBC并行安装GLIBC-2.27 ,例如, 此答案.

Your next best bet is to install GLIBC-2.27 in parallel with system GLIBC, as described in e.g. this answer.

如果您决定将系统GLIBC更新到新版本,则最不容易出错的方法是下载新软件包,从恢复介质启动系统,在例如/mnt,并在其顶部解压缩新版本.

If you do decide to update the system GLIBC to the new version, the least error-prone way to do so is to download a new package, boot the system from recovery media, mount root filesystem on e.g. /mnt, and unpack the new version on top of it.

这篇关于找不到GLIBC_2.27 Ubuntu 16.04的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆