[ArchEc] MongodbClient.pm could not connect to local host

Thomas Krichel krichel at openlib.org
Tue Feb 19 08:47:42 CET 2013


  Rishabh Sharma writes

> Now its giving different problem :
> $./test
> Can't locate loadable object for module MongoDB in @INC (@INC contains:
> /home/archec/usr/lib/perl/5.14.2 /home/archec/lib/perl
> /home/archec/usr/share/perl/5.14.2 /home/archec/usr/share/perl /etc/perl
> /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
> /usr/local/lib/site_perl .) at ./test line 5.
> Compilation failed in require at ./test line 5.
> BEGIN failed--compilation aborted at ./test line 5.
> 
> MongoDB.pm exists in /home/archec/usr/lib/perl/5.14.2

  It looks like a path problem. Are you using bash?
  Run

. ~/.bashrc 
   
  manually.

  Cheers,

  Thomas Krichel                    http://openlib.org/home/krichel
                                      http://authorprofile.org/pkr1
                                               skype: thomaskrichel



More information about the ArchEc-run mailing list