[新人报道] 问一下关于phantomJS的配置
电梯直达到第
poster avatar
lin_lcs
deepin
发表于 2021-06-06 01:17
楼主

在终端运行phantomJS 总会报错:

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

按照网上的方法在运行前加上:

export OPENSSL_CONF=/etc/ssl/

但是每次打开都要加上。怎么样才能不用这么麻烦?

回复 收藏 只看作者
所有回复

暂无回复,快来抢沙发吧