Can't locate loadable object for module Digest::MD5

110 views
Skip to first unread message

Matias Irazoqui

unread,
May 19, 2016, 1:22:23 PM5/19/16
to PhyloSift

Hi,
Today I tried to run phylosift, but it keeps giving me the error I paste down here. I've installed the MD5 module via CPAN, so the module is there. I've also tried copying the library in the folders where the perl modules are. Theoretically, Phylosift searches for MD5 and, if it doesn't find it, uses a legacy version that comes within the package, but it keeps telling me it can't locate the MD5 module. I'm working on a CentOS 7.2.1511 server, with Perl 5.16 installed.


[matias@localhost Phylosift]$ ./phylosift dbupdate
Can't locate loadable object for module Digest::MD5 in @INC (@INC contains: /home/matias/Phylosift/bin/../lib /home/matias/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /home/matias/perl5/lib/perl5/5.16.3 /home/matias/perl5/lib/perl5/x86_64-linux-thread-multi /home/matias/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/matias/Phylosift/bin/../lib/Phylosift/FastSearch.pm line 25.
Compilation failed in require at /home/matias/Phylosift/bin/../lib/Phylosift/FastSearch.pm line 25.
BEGIN failed--compilation aborted at /home/matias/Phylosift/bin/../lib/Phylosift/FastSearch.pm line 25.
Compilation failed in require at /home/matias/Phylosift/bin/../lib/Phylosift/Phylosift.pm line 18.
BEGIN failed--compilation aborted at /home/matias/Phylosift/bin/../lib/Phylosift/Phylosift.pm line 18.
Compilation failed in require at /home/matias/Phylosift/bin/../lib/Phylosift/Command/test_lineage.pm line 4.
BEGIN failed--compilation aborted at /home/matias/Phylosift/bin/../lib/Phylosift/Command/test_lineage.pm line 4.
Compilation failed in require at /home/matias/Phylosift/bin/../lib/App/Cmd.pm line 84.
App::Cmd::_command('Phylosift', undef) called at /home/matias/Phylosift/bin/../lib/App/Cmd.pm line 59
App::Cmd::new('Phylosift') called at /home/matias/Phylosift/bin/../lib/App/Cmd.pm line 164
App::Cmd::run('Phylosift') called at /home/matias/Phylosift/bin/phylosift line 7

Aaron Darling

unread,
May 19, 2016, 6:07:42 PM5/19/16
to PhyloSift
Hi Matias,
Yes that module can cause trouble at times.
Have you tried adding the legacy lib path to $PERL5LIB? The command would be something like:

export PERL5LIB=/home/matias/Phylosift/legacy:$PERL5LIB

Let us know how it goes.
-Aaron

Matias Irazoqui

unread,
May 23, 2016, 11:04:05 AM5/23/16
to PhyloSift
Hi Aaron, thanks for replying
I tried adding the legacy lib to the path, but the problem continues. This happens only in the server, I didn't have any trouble running phylosift in my PC. Can it be a Perl problem? I've also tried with different versions of phylosift, but I couldn't get it to work.
Reply all
Reply to author
Forward
0 new messages