Oct 2, 2002, 8:58 AM
Not only have I read the README, but at this point I almost have it memorized... ; )
Re: [davorg] Help need with GD module
I broke down this morning and tried intalling the RPMs of libgd and GD. Each installed without error (libgd complained about me having a newer version so I did use the --force on it).
Now I am seeing a different error:
From command line using "perl -e "use GD":
# perl -e "use GD"
Can't locate loadable object for module GD in @INC (@INC contains: /usr/local/lib/perl5/5.8.0/i686-linux /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/i686-linux /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at -e line 1
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
And from apaches error log when a script using GD is executed:
[Wed Oct 2 10:43:42 2002] [error] [client 18.104.22.168] Premature end of script headers: /var/www/cgi-bin/symbol.cgi
Can't locate loadable object for module GD in @INC (@INC contains: . /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl) at Symbol/UPC.pm line 13
Compilation failed in require at Symbol/UPC.pm line 13.
BEGIN failed--compilation aborted at Symbol/UPC.pm line 13.
Compilation failed in require at /var/www/cgi-bin/symbol.cgi line 13.
BEGIN failed--compilation aborted at /var/www/cgi-bin/symbol.cgi line 13.
[Wed Oct 2 10:43:43 2002] [error] [client 22.214.171.124] Premature end of script headers: /var/www/cgi-bin/symbol.cgi
Any thoughts as to what loadable object isn't found? One thing that I notice is the @INC is looking at the old perl install [5.6.0] and as I mentioned previously, CPAN recently upgraded me to 5.8.0 - do you think pointing @INC to the new install would help? If so how can I change that?
Thank you VERY much for you reply and assistance!!
(This post was edited by yim111 on Oct 2, 2002, 9:02 AM)