CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [davorg] Help need with GD module: Edit Log



yim111
Novice

Oct 2, 2002, 8:58 AM


Views: 368
Re: [davorg] Help need with GD module

Not only have I read the README, but at this point I almost have it memorized... ; )

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 123.11.11.11] 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 123.11.11.11] 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!!

-jim


(This post was edited by yim111 on Oct 2, 2002, 9:02 AM)


Edit Log:
Post edited by yim111 (Novice) on Oct 2, 2002, 9:02 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives