Hi Monks!
I have a program that needs the Perl Module Image::Magick to run. After talking to the help desk at my ISP, I was told that the particular module is installed on the server.
But I am still getting this error message:
Software error:
Can't locate Image/Magick.pm in @INC (@INC contains: /usr/ports/graphi
+cs/ImageMagick/ /usr/local/lib/perl5/5.8.3/i386-freebsd /usr/local/li
+b/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/i386-freebsd /usr/
+local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .) at
+test.pl line 9.
BEGIN failed--compilation aborted at test.pl line 9.
And here is the code I am using just to test if this module is actually installed:
#!/usr/bin/perl
use CGI(-debug);
use strict;
use CGI::Carp qw(fatalsToBrowser);
#Location where they told me that this module has been installed
use lib "/usr/ports/graphics/ImageMagick/";
use Image::Magick;
print "Content-type:text/html\n\n";
print "test";
My question is to know what or where the problem is because I can't see it anymore.
Any Help Please!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.