gpt4 book ai didi

centos7 - CentOS 7 上的 Deno : 'GLIBC_2.18' not found

转载 作者:行者123 更新时间:2023-12-04 12:17:28 30 4
gpt4 key购买 nike

如何运行 DenoWebfaction的 CentOS 7(64 位)?

它给出了一个错误:

deno: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by deno)

最佳答案

当前的 Deno 版本 1.0.0(今天最新)与 CentOS 7 不兼容。

我尝试了 2020 年 4 月 27 日发布的最新发行版:

$ cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)

本期 7 GLIBC_2.18 not found建议应该有办法解决这个问题,但线程似乎被放弃了一年。

截至今天,Deno 需要 GLIBC_2.18 ,但不幸的是 CentOS 7 正在运行 2.17 , 一个旧版本的 gclib 是不够的:
$ ldd --version
ldd (GNU libc) 2.17

如果你需要在 CentOS 上运行 Deno,你需要使用 CentOS 8 .测试了它,它的工作原理。

来自 How to fix “/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found” :

That means the program was compiled against glibc version 2.14, and it requires that version to run, but your system has an older version installed. You'll need to either recompile the program against the version of glibc that's on your system, or install a newer version of glibc (the "libc6" package in Debian).



CentOS 7 不会发生这种情况。来自 glibc_2.18 on Centos 7 :

No. Never going to happen. We ship glibc 2.17 as part of CentOS 7 and that will never change. It's part of the basic RHEL standards that stuff like this does not change within a major version.



我不会指望 Deno(这是一项新技术)向旧编译器进行反向移植。考虑将您的服务器升级到 CentOS 8。

关于centos7 - CentOS 7 上的 Deno : 'GLIBC_2.18' not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55156942/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com