简体   繁体   English

适用于Erlang的MongoDB驱动程序

[英]MongoDB driver for Erlang

I got mongodb version 2.4.3 installed on Ubuntu 13.04 and I installed mongodb-erlang to /usr/lib/erlang/lib/mongodb-master (by make) but if I try to start it I got this error: 我在Ubuntu 13.04上安装了mongodb 2.4.3版,并且将mongodb-erlang安装到了/usr/lib/erlang/lib/mongodb-master (通过make),但是如果我尝试启动它,则会出现此错误:

Erlang R16B (erts-5.10.1) [source-05f1189] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V5.10.1  (abort with ^G)
1> application:start(mongodb). 
{error,{not_started,bson}}

As indicated by the error message, the bson application is not started; 如错误消息所示, bson应用程序未启动; the mongodb application requires it. mongodb应用程序需要它。 Just run application:start(bson) first, and you should be good to go. 只需先运行application:start(bson) ,然后就可以了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM