linux 下CentOS 下 npm命令安装gitbook失败的问题

运行环境 linux 服务器;CentOS 7.0 系统;安装了nodejs ;使用 npm 安装 gitbook 出现错误提示;

npm install -g gitbook-cli
symbol SSL_set_cert_cb, version libssl.so.10 not defined in file libssl.so.10 with link time reference

解决方法 :更新openssl的版本;使用命令:

yum update openssl

再次运行 :

npm install -g gitbook-cli

安装成功。

 

posted @ 2017-12-28 13:26  恩恩先生  阅读(1852)  评论(0编辑  收藏  举报