背景
买了一台新加坡的腾讯云服务器,做测试使用
过程
安装nodejs
yum install nodejs
安装过程无错误,正常安装nodejs 的6.12.3版本
使用npm安装模块
npm install pm2 -g
此时问题出现了:
npm: relocation error: npm: symbol SSL_set_cert_cb,version libssl.so.10 not defined in file libssl.so.10 with link time reference
解决方案:
yum update openssl