> 
> 
> Hello.
> 
> Could someone could shed some light what I should do.  Please point me if 
> I should send to a different list.
> 
> Although my script ran fine on the command line.  I've got the following 
> errors when running my script on apache
> 
> [Tue Aug 03 15:54:14 2004] [error] [client 172.16.140.146] Premature end 
> of script headers: graph
> [Tue Aug 03 15:54:14 2004] [error] [client 172.16.140.146] Uncaught 
> exception from user code:
> [Tue Aug 03 15:54:14 2004] [error] [client 172.16.140.146] \tCan't load 
> '/dssweb/local-perl/lib/site_perl/5.8.\
> 3/sun4-solaris/auto/GD/GD.so' for module GD: ld.so.1: 
> /dssweb/local-perl/bin/perl: fatal: libgcc_s.so.1: open \
> failed: No such file or directory at 
> /dssweb/local-perl/lib/5.8.3/sun4-solaris/DynaLoader.pm line 229.
> [Tue Aug 03 15:54:14 2004] [error] [client 172.16.140.146]  at 
> /dssweb/local-perl/lib/site_perl/5.8.3/GD/Graph\
> /pie.pm line 20
> [Tue Aug 03 15:54:14 2004] [error] [client 172.16.140.146] Compilation 
> failed in require at /dssweb/local-perl\
> /lib/site_perl/5.8.3/GD/Graph/pie.pm line 20.
> [Tue Aug 03 15:54:14 2004] [error] [client 172.16.140.146] BEGIN 
> failed--compilation aborted at /dssweb/local-\
> perl/lib/site_perl/5.8.3/GD/Graph/pie.pm line 20.
> [Tue Aug 03 15:54:14 2004] [error] [client 172.16.140.146] Compilation 
> failed in require at /dssweb/apache2/cg\
> i-bin/tst/graph line 6.
> [Tue Aug 03 15:54:14 2004] [error] [client 172.16.140.146] BEGIN 
> failed--compilation aborted at /dssweb/apache\
> 2/cgi-bin/tst/graph line 6.
> 
> Thanks,
> Isarin
> 

To avoid the internal server error you could use fatalsToBrowser. But
your error is because GD can't be loaded, specifically because it may
not have been installed correctly, or libgd is either not found or not
installed.  Did you install GD through CPAN or using the standard 4 step
build process? Did 'make test' succeed?  Is libgd installed and in a
normal location? You may need to provide an LD_LIBRARY_PATH or similar
in your web environment.

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to