>> Hi,
>> 
>> I'm trying to use GD.pm on a RedHat 9.0 Linux machine in a Perl script. 
>> When the script is executed, it drops out with the message:
>> 
>>   Can't locate GD.pm in @INC (@INC contains:
>>   BEGIN failed--compilation aborted at ./loads.cgi line 6.
>> 
>> Line 6 is 'use GD;'
>> 
>> I check that the gd rpm is installed with 'rpm -qa | grep gd' with the result:
>> 
>>   gd-devel-1.8.4-11
>>   gd-1.8.4-11
>
>I *believe* that the rpms listed above are for the GD C libraries, the
>error you are getting refers to the GD Perl module (which is likely a
>wrapper around the C libs though I can't say for sure).  You should be
>able to do the normal:
>
>perl -MCPAN -e shell
>> install GD
>
>Assuming you have root access, want your modules installed in the normal
>locations, have the proper C compiling libs and programs, etc. etc. etc.
>
>If this doesn't work then come back for a second round...
>
>http://danconia.org

That was it! I also found I needed to install a later version of libgd to get GD.pm to 
properly install.

Thanks for the help!

John


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to