Re: [PHP] Upgrade help!

2003-01-08 Thread PHP List
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 [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Upgrade help!

2003-01-07 Thread PHP List
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.