Installed, running, but graphics not.

From: Date: Tue, 20 Feb 2001 00:02:41 +0000
Subject: Installed, running, but graphics not.
Groups: php.install 
Request: Send a blank email to php-install+get-2138@lists.php.net to get a copy of this message
Hey there ... I recently (finally) got php to compile/install after a LONG process (trying to do it static, and it wouldn't ever work ... kept giving errors during the linking of httpd, complaining that it couldn't find certain png functions referenced by libgd ... functions that did exist in libpng -- compiled libpng, jpeg, gd, by myself). Finally got it working as a .so (solaris 2.5.1). Got it up running and did my <? echo("Hello World"); ?> successfully. PROBLEM: I can't seem to get any of the image functions to work. When I try to ImageGIF or ImageJPEG, I get an error (in IE only) stating: Gif (or jpeg) support not existant in PHP install. (A) It should be, I built gd 1.8.3 with the patch (linked via php.net) that reinstates gif support ... plus I compiled in jpeg support. Secondly, when I try an ImagePNG, I get a segfault in apache, with error_log showing the following: gd-png: fatal libpng error: Incompatible libpng version in application and library [Mon Feb 19 18:47:10 2001] [notice] child pid 26943 exit signal Segmentation Fault (11) Now, I have a theory ... but no way to figure out 'how to fix it'. The final error sounds to me like it is saying that there are two different versions that are being seen ... This could be true. In /usr/local/lib exists a version of libgd ... a version I didn't want to use because it was a PNG only version ... So I compiled my own libgd, using my own compiled version of libpng. Then compiled php using this NEW libgd (--with-gd=blah/blah/). But now I am seeing it complain about not having jpeg or gif, and the odd png behaviour ... sounds like somehow the two versions are fighting? So how do I stop this? Is it stopped at the compile-time of php? Or is this a run-time/compile-time of apache thing that needs done? Thanks in advance, Eli ______________________________________________________________________ Eli White Computer Specialist for Internet Services Space Telescope Science Institute http://hubble.stsci.edu/

« previous php.install (#2138) next »