debian系统安装之后在
/etc/profile
添加export PATH=${PATH}:/home/worker/phantomjs/bin/
之后报错
140302110000960:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory
140302110000960:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140302110000960:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf
140302110000960:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf
根据https://github.com/bazelbuild/rules_closure/pull/353
以前是每次运行代码前输入命令
下面展示一些 内联代码片
。
export OPENSSL_CONF=/etc/ssl/
但是后期要将代码打包成服务,因此根据查询到的结果修改
/etc/ssl/openssl.cnf 将其中的 OPENSSL_CONF=default_conf改为OPENSSL_CONF=/etc/ssl/