Re: Upgrade help!

From: Date: Wed, 08 Jan 2003 18:13:04 +0000
Subject: Re: Upgrade help!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-130780@lists.php.net to get a copy of this message
In case any one else needs to know: I had to erase the rpm version of gd, gd-devel and libpng, libpng-devel The rpm versions were 1.0.12. For some reason the configure option -with-png-dir=../libpng-1.2.1 was using the headers from the right dir, but somehow used the rpm version for compiling instead. Is this a bug? Shouldn't it use libpng-1.2.1 for everything? Once I got rid of the rpm versions, I know longer had a problem. ----- Original Message ----- From: "PHP List" <php_list@ibcnetwork.net> To: "php" <php-general@lists.php.net> Sent: Tuesday, January 07, 2003 4:34 PM Subject: [PHP] Upgrade help! Hi, I am trying to upgrade to php4.3.0, everything works, but when I try to use any gd image functions I get the following error: libpng warning: Application was compiled with png.h from libpng-1.2.1 libpng warning: Application is running with png.c from libpng-1.0.12 gd-png: fatal libpng error: Incompatible libpng version in application and library [Tue Jan 7 16:30:21 2003] [notice] child pid 14014 exit signal Segmentation fault (11) I downloaded and installed libpng-1.2.1 I configured php with: ./configure' '--with-jpeg-dir=../jpeg-6b' '--with-mysql=/usr/' '--with-apxs=/usr/local/apache/bin/apxs' '--with-gd' '--with-mcrypt=../libmcrypt-2.4.22' '--with-png-dir=../libpng-1.2.1' '--with-zlib-dir=../zlib-1.1.3' '--enable-exif' '--with-freetype-dir=../freetype-2.1.3' Where is is getting the libpng-1.0.12 from? I can't find it anywhere on the server. I am using apache 1.3.27 on redhat 7 Thanks for any help.

« previous php.general (#130780) next »