bnanaboy has asked for the wisdom of the Perl Monks concerning the following question:
to a script that previously worked, without making any other changes to the script, I now get the following error:use lib '/var/tmp/perl'; use Digest::MD5;
Then, trying to execute the module directly:Can't locate loadable object for module Digest::MD5 in @INC (@INC cont +ains: /var/tmp/perl /eng/local/lib/perl5/site_perl/5.6.1/sun4-solaris +/ /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 +/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl +5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /var/tmp/jcorr +a/scripts/dev/alumni-shared.pl line 25 Compilation failed in require at /var/tmp/jcorra/scripts/dev/alumni-sh +ared.pl line 25. BEGIN failed--compilation aborted at /var/tmp/jcorra/scripts/dev/alumn +i-shared.pl line 25. Compilation failed in require at ./login.pl line 22.
I'm a programmer, not a systems administrator, so I don't have much (any) experience installing and configuring Perl, I just want to be able to download and use modules so I don't have to code everything from scratch. Can anyone offer any help on what I'm doing wrong?perl /var/tmp/perl/Digest/MD5.pm Can't locate loadable object for module Digest::MD5 in @INC (@INC cont +ains: /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5. +6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/ +perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local +/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 112 DynaLoader::croak('Can\'t locate loadable object for module Di +gest::MD5 in @INC (@I...') called at /usr/local/lib/perl5/5.6.1/sun4- +solaris/DynaLoader.pm line 180 DynaLoader::bootstrap('Digest::MD5', 2.26) called at /var/tmp/ +perl/Digest/MD5.pm line 16 eval {...} called at /var/tmp/perl/Digest/MD5.pm line 15
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with DynaLoader and "use"ing downloaded modules
by sauoq (Abbot) on Jul 24, 2003 at 23:53 UTC | |
|
Re: Problem with DynaLoader and "use"ing downloaded modules
by Paladin (Vicar) on Jul 24, 2003 at 22:09 UTC | |
by bnanaboy (Beadle) on Jul 25, 2003 at 14:45 UTC | |
by bbfu (Curate) on Jul 25, 2003 at 18:49 UTC | |
by bnanaboy (Beadle) on Jul 25, 2003 at 19:50 UTC | |
by bbfu (Curate) on Jul 25, 2003 at 20:28 UTC | |
|
Re: Problem with DynaLoader and "use"ing downloaded modules
by simonm (Vicar) on Jul 24, 2003 at 23:06 UTC | |
by bnanaboy (Beadle) on Jul 25, 2003 at 19:07 UTC |