is libgcc.so.1 same as libgd? I think my libgd is good. and the error message refers to libgcc.so.1.

I installed GD through the four steps. It passed the make test.
I added the path to libgcc.so.1 to LD_LIBRARY_PATH but not to the
libgd? Should I add it?

Thanks.

And here are the paths to the modules:


/dssweb/local-perl/lib/site_perl/5.8.3/sun4-solaris: drwxr-xr-x 2 dssweb dssdev 96 Aug 3 15:37 GD
-r--r--r-- 1 dssweb dssdev 60054 Jul 22 16:11 GD.pm


/dssweb/local-perl/lib/site_perl/5.8.3/GD:
total 130
drwxr-xr-x   4 dssweb   dssdev        96 Jul 30 10:30 .
drwxr-xr-x  45 dssweb   dssdev      2048 Aug  3 10:56 ..
drwxr-xr-x   2 dssweb   dssdev      1024 Jul 30 10:30 Graph
-r--r--r--   1 dssweb   dssdev     45395 Jul  1  2003 Graph.pm
drwxr-xr-x   2 dssweb   dssdev        96 Jul 30 10:29 Text
-r--r--r--   1 dssweb   dssdev     16996 Jun 18  2003 Text.pm

/dssweb/lib: -rw-r--r-- 1 dssweb dssdev 708028 Jul 30 11:21 libgd.a
-rwxr-xr-x 1 dssweb dssdev 717 Jul 30 11:21 libgd.la
-> libgd.so.2.0.0
lrwxrwxrwx 1 dssweb dssdev 14 Jul 30 11:21 libgd.so.2 -> libgd.so.2.0.0
-rwxr-xr-x 1 dssweb dssdev 484989 Jul 30 11:21 libgd.so.2.0.0
lrwxrwxrwx 1 dssweb dssdev 10 Jul 28 16:18 libpng.a -> libpng12.a
lrwxrwxrwx 1 dssweb dssdev 11 Jul 28 16:18 libpng.so -> libpng.so.3
lrwxrwxrwx 1 dssweb dssdev 17 Jul 28 16:18 libpng.so.3 -> libpng.so.3.1.2.5
-rwxr-xr-x 1 dssweb dssdev 170112 Jul 28 16:18 libpng.so.3.1.2.5
-rw-r--r-- 1 dssweb dssdev 192464 Jul 28 16:18 libpng12.a
lrwxrwxrwx 1 dssweb dssdev 19 Jul 28 16:18 libpng12.so -> libpng12.so.0.1.2.5
lrwxrwxrwx 1 dssweb dssdev 19 Jul 28 16:18 libpng12.so.0 -> libpng12.so.0.1.2.5
-rwxr-xr-x 1 dssweb dssdev 170116 Jul 28 16:18 libpng12.so.0.1.2.5




On Wed, 4 Aug 2004, Wiggins d Anconia wrote:

Date: Wed, 4 Aug 2004 08:30:31 -0600
From: Wiggins d Anconia <[EMAIL PROTECTED]>
To: Isarin Sathitruangsak <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: GD.pm and GD::Graph



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>




hatyai [at] sdf.lonestar.org http://hatyai.gomen.org SDF Public Access UNIX System - http://sdf.lonestar.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