【发布时间】:2022-11-09 23:31:52
【问题描述】:
在通过 yum install 命令安装 nodejs、npm 和 yarn 之后,每当我尝试运行 npm 命令时,我都会收到以下错误
node: relocation error: /lib64/libnode.so.93: symbol FIPS_selftest, version OPENSSL_1_1_0g not defined in file libcrypto.so.1.1 with link time reference
这发生在安装了最新更新的 CentOS 7 上。
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
我在网上搜索了这个错误,但我找不到任何相关的东西,到目前为止,这发生在我的第 5 台服务器上。
我尝试删除 nodejs、npm 和 yarn,甚至安装旧版本但没有结果。我也尝试删除 openssl 并再次没有帮助。
谢谢
【问题讨论】:
标签: node.js npm centos7 yarn-v2