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

Thomas Krichel krichel at openlib.org
Mon Feb 18 16:43:35 CET 2013


  Rishabh Sharma writes
> >  reinstalled the local copy of mongodb
> >archec at modin:~$ cpanm --reinstall --force MongoDB
> >--> Working on MongoDB
> >Fetching http://www.cpan.org/authors/id/F/FR/FRIEDO/MongoDB-0.503.3.tar.gz... OK
> >Configuring MongoDB-0.503.3 ... OK
> >Building and testing MongoDB-0.503.3 ... FAIL
> >! Testing MongoDB-0.503.3 failed but installing it anyway.
> >Successfully reinstalled MongoDB-0.503.3
> >1 distribution installed
> 
> Still same problem
> 
> Can't load '/home/archec/usr/lib/perl/5.14.2/auto/MongoDB/MongoDB.so' for
> module MongoDB: /home/archec/usr/lib/perl/5.14.2/auto/MongoDB/MongoDB.so:
> wrong ELF class: ELFCLASS32 at /usr/share/perl/5.14/XSLoader.pm line 71.
>  at /home/archec/usr/lib/perl/5.14.2/MongoDB.pm line 34.
> Compilation failed in require at ./test line 5.
> BEGIN failed--compilation aborted at ./test line 5.

  No, a different problem because a different file is affected.

archec at modin:~$ cpanm --reinstall XSLoader
--> Working on XSLoader
Fetching http://www.cpan.org/authors/id/S/SA/SAPER/XSLoader-0.16.tar.gz ... OK
Configuring XSLoader-0.16 ... OK
Building and testing XSLoader-0.16 ... OK
Successfully reinstalled XSLoader-0.16
1 distribution installed
archec at modin:~$ bin/test
Can't load '/home/archec/usr/lib/perl/5.14.2/auto/MongoDB/MongoDB.so' for module MongoDB: /home/archec/usr/lib/perl/5.14.2/auto/MongoDB/MongoDB.so: wrong ELF class: ELFCLASS32 at /home/archec/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/XSLoader.pm line 68.
 at /home/archec/usr/lib/perl/5.14.2/MongoDB.pm line 34.
Compilation failed in require at bin/test line 5.
BEGIN failed--compilation aborted at bin/test line 5.
archec at modin:~$ rm /home/archec/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/XSLoader.pm
rm: remove write-protected regular file `/home/archec/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/XSLoader.pm'? y
archec at modin:~$ bin/test
Can't load '/home/archec/usr/lib/perl/5.14.2/auto/MongoDB/MongoDB.so' for module MongoDB: /home/archec/usr/lib/perl/5.14.2/auto/MongoDB/MongoDB.so: wrong ELF class: ELFCLASS32 at /usr/share/perl/5.14/XSLoader.pm line 71.
 at /home/archec/usr/lib/perl/5.14.2/MongoDB.pm line 34.
Compilation failed in require at bin/test line 5.
BEGIN failed--compilation aborted at bin/test line 5.
archec at modin:~$ rm /home/archec/usr/lib/perl/5.14.2/auto/MongoDB/MongoDB.so
rm: remove write-protected regular file `/home/archec/usr/lib/perl/5.14.2/auto/MongoDB/MongoDB.so'? y
archec at modin:~$ bin/test
Can't load '/home/archec/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int/auto/MongoDB/MongoDB.so' for module MongoDB: /home/archec/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int/auto/MongoDB/MongoDB.so: wrong ELF class: ELFCLASS32 at /usr/lib/perl/5.14/DynaLoader.pm line 184.
 at bin/test line 5.
Compilation failed in require at bin/test line 5.
BEGIN failed--compilation aborted at bin/test line 5.
archec at modin:~$ rm /home/archec/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int/auto/MongoDB/MongoDB.so
rm: remove write-protected regular file `/home/archec/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int/auto/MongoDB/MongoDB.so'? y
archec at modin:~$ bin/test
archec at modin:~$
archec at modin:~$
archec at modin:~$

  Cheers,

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



More information about the ArchEc-run mailing list