You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# root @ centos7-build in ~/node-v18.3.0-linux-x64/bin [9:20:05]
$ ./node
./node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by ./node)
./node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by ./node)
./node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./node)
./node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./node)
./node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./node)
./node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./node)
由于官方升级了全套工具链,导致 nodejs18 不能在 centos7 中使用。
但根据实际测试来看,完全可以继续使用,v8中也没有使用glibc2.17以上的功能,主要之前有一次提交使用了高版本ABI,但后续也做了兼容v8/v8@4e81f25
当然 centos7 的支持生命周期也即将结束,不过因为国内的特殊原因,太多老系统还在继续使用 centos7
nodejs18 有太多诱人的功能,包括更新了v8到10.x 更新了openssl3.x(小心native插件的动态库符号冲突)
还有用户快照的支持,即将有js API,之后就可以把库都编译进快照,大大提升启动速度,比pkg等打包工具会好非常多
我们可以自己编译nodejs18
也可以关注下这个issue是否被采纳nodejs/node#43246
The text was updated successfully, but these errors were encountered: