今天安装phantomjs的时候提示这样一段错误

Auto configuration failed
139710295961152:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: 无法打开共享对象文件: 没有那个文件或目录
139710295961152:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
139710295961152:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf
139710295961152:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf

然后解决方案就是在终端输入

export OPENSSL_CONF=/etc/ssl/

你也可能喜欢

发表评论