467,926 Members | 1,830 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,926 developers. It's quick & easy.

additional lib

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
  • viewed: 1791
Share:
2 Replies
numberwhun
Expert Mod 2GB
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
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.

Similar topics

1 post views Thread by Terry | last post: by
1 post views Thread by Imran Aziz | last post: by
6 posts views Thread by =?Utf-8?B?WW9naSBXYXRjaGVy?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.