By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,373 Members | 1,984 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,373 IT Pros & Developers. It's quick & easy.

additional lib

P: 30
Hey, I need to use a additional lib on unix sever, I download the lib files in my home directory "./lib". I tried several ways to use it, but all failed for the same prompt
Expand|Select|Wrap|Line Numbers
  1. Can't locate Digest/SHA1.pm in @INC(@INC contains: ./lib /usr/perl5/5.6.1/lib/i86pc-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/i86pc-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/i86pc-solaris-64int /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at lib/WordNet/Tools.pm line 76.
  2. BEGIN failed--compilation aborted at lib/WordNet/Tools.pm line 76.
  3. Compilation failed in require at lib/WordNet/Similarity.pm line 139.
  4. BEGIN failed--compilation aborted at lib/WordNet/Similarity.pm line 139.
  5. Compilation failed in require at lib/WordNet/Similarity/PathFinder.pm line 114.
  6. BEGIN failed--compilation aborted at lib/WordNet/Similarity/PathFinder.pm line 114.
  7. Compilation failed in require at lib/WordNet/Similarity/path.pm line 87.
  8. BEGIN failed--compilation aborted at lib/WordNet/Similarity/path.pm line 87.
  9. Compilation failed in require at 1 line 2.
  10. BEGIN failed--compilation aborted at 1 line 2.
  11.  
And my code is
Expand|Select|Wrap|Line Numbers
  1. use lib "$ENV{HOME}/lib";   
  2. use WordNet::Similarity;
  3.  
I also try to export it or use perl -I from command line to call the additional lib, but none of them works.

Anyone has some suggestion?
Thanks in advance!
Oct 31 '08 #1
Share this Question
Share on Google+
2 Replies


numberwhun
Expert Mod 2.5K+
P: 3,503
Well, you say you downloaded it. Did you unpack it and build it as well? That is a requirement, otherwise you cannot use it. If you don't install it, how will it know its there?

Regards,

Jeff
Oct 31 '08 #2

P: 30
Well, you say you downloaded it. Did you unpack it and build it as well? That is a requirement, otherwise you cannot use it. If you don't install it, how will it know its there?

Regards,

Jeff

Yep, I run the program well on my computer (XP platform), and now I need to transplant it to run well on unix.
Oct 31 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.