错误排查
libbson-1.0.so.0: cannot open shared object file: No such file or directory
这是因为libbson扩展被安装在了 /usr/local/lib/ 目录下,需要加上软连接:
echo "/usr/local/lib/" >> /etc/ld.so.conf.d/open_resty_libs.conf
ldconfig
libbson-1.0.so.0: cannot open shared object file: No such file or directory
这是因为libbson扩展被安装在了 /usr/local/lib/ 目录下,需要加上软连接:
echo "/usr/local/lib/" >> /etc/ld.so.conf.d/open_resty_libs.conf
ldconfig