更新时间:2023-11-21 18:15:34
如何将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:
您***的选择是在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.