Jon*_*han 3 php mongodb drivers
我无法将 mongo 驱动程序安装到我的 ubuntu 开发系统中。当我运行命令时
sudo pecl install mongo
我收到此错误:
配置:错误:未找到 sasl.h!错误:`/tmp/pear/temp/mongo/configure --with-mongo-sasl=n' 失败
我不知道该由谁来解决或解决我的问题。请给我一些帮助。
非常感谢
小智 14
你得到的错误信息:
configure: error: sasl.h not found!
Run Code Online (Sandbox Code Playgroud)
应该可以通过以下方式解决:
sudo apt-get install libsasl2-dev
Run Code Online (Sandbox Code Playgroud)
对于 CentOS:
yum install cyrus-sasl-devel
Run Code Online (Sandbox Code Playgroud)
来源:
| 归档时间: |
|
| 查看次数: |
15266 次 |
| 最近记录: |