Chances are you're running a different perl on the command line than mod_perl was built with. Try typing, perl -v, at the shell prompt to see what version it is. You could either rebuild mod_perl with the (probably) newer perl as runs from shell, or install GD under perl 5.6.0. Note that perl 5.6.0 was rather buggy, so I'd recommend rebuilding mod_perl.
Regards, Tim Tompkins ---------------------------------------------- Programmer http://www.clipart.com/ http://www.rebelartist.com/ ---------------------------------------------- ----- Original Message ----- From: "Ganesan Muthusubramanian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 17, 2002 1:18 PM Subject: GD with mod_perl > Hello all, > > I am running into a terrible problem that I couldn't > get GD working with mod_perl. > > I am able to run the same program from command line as > a user. But if I run it through Apache with mod_perl > I am getting the following error. > > ************************************** > [Thu Oct 17 15:39:19 2002] [notice] Apache/1.3.22 > (Unix) mod_perl/1.26 configured -- resuming normal > operations > [Thu Oct 17 15:39:19 2002] [notice] Accept mutex: > fcntl (Default: fcntl) > [Thu Oct 17 15:40:11 2002] [error] Can't load > '/usr/lib/perl5/site_perl/5.6.0/i486-pc-sco3.2v5.0/auto/GD/GD.so' > for module GD: dynamic linker : > /usr/local/apache/bin/httpd : error opening > libpng.so.3 at > /usr/lib/perl5/5.6.0/i486-pc-sco3.2v5.0/DynaLoader.pm > line 200. > at /usr/lib/perl5/site_perl/5.6.0/GD/Graph.pm line 37 > Compilation failed in require at > /usr/lib/perl5/site_perl/5.6.0/GD/Graph.pm line 37. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.6.0/GD/Graph.pm line 37. > > ************************************************** > > you could have figured out the package version, OS > etc., from the above. This is something to do with > Dynamic/static linking of the libraries/modules. > > I am not smart enough to find that. If somebody > could help me in the above problem, I would really > appreciate that. > > Thanks, > G. > > > > __________________________________________________ > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos & More > http://faith.yahoo.com >