#32839 [Com]: php 4.3.11 + zlib 1.2.2 + GD library

From: Date: Tue, 26 Apr 2005 12:45:24 +0000
Subject: #32839 [Com]: php 4.3.11 + zlib 1.2.2 + GD library
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78215@lists.php.net to get a copy of this message
ID: 32839 Comment by: b_ulrich at t-online dot de Reported By: fev at ukrti dot com dot ua Status: Open Bug Type: GD related Operating System: Red Hat 7.3 kernel 2.6.3 PHP Version: 4.3.11 New Comment: You also have to recompile your local mysql version! Previous Comments: ------------------------------------------------------------------------ [2005-04-26 14:32:12] fev at ukrti dot com dot ua Description: ------------ My Previous configuration: Apache 1.3.33 PHP 4.3.10 Zlib 1.2.1 GD 2.0.33 or bundled version MySQL 4.0.24 I want to update in my system PHP 4.3.11 Zlib 1.2.2 And if possible GD 2.0.33 external library. First i clear my system from old Zlib library (/usr/lib, /usr/local/lib, /usr/include, /usr/local/include ) and then compile zlib with static and shared libraries in /usr. Now in my system: ldconfig -v said libz.so.1 -> libz.so.1.2.2 and /usr/lib has -rwxr-xr-x 1 root root 74672 Apr 25 23:35 libz.a lrwxr-xr-x 1 root root 13 Apr 25 23:35 libz.so -> libz.so.1.2.2 lrwxr-xr-x 1 root root 13 Apr 25 23:35 libz.so.1 -> libz.so.1.2.2 -rwxr-xr-x 1 root root 71919 Apr 25 23:35 libz.so.1.2.2 /usr/include has headers source files Zlib 1.2.2. Then i compile my ordinary configuration like this: './configure' '--prefix=/usr/local/php-4.3.11' '--with-config-file-path=/usr/local/php-4.3.11' '--with-mysql=/usr/local/mysql' '--with-mysql-sock=/usr/local/mysql/mysql.sock' '--with-zlib=/usr' '--with-gd' '--with-zlib-dir=/usr' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local/libpng-1.2.8' '--with-freetype-dir=/usr/local/freetype2' '--with-ttf' '--enable-gd-native-ttf' '--with-apache=/src/apache/apache_1.3.33' In console php said #/usr/local/php-4.3.11/bin/php -i GD Support => enabled GD Version => bundled (2.0.28 compatible) FreeType Support => enabled FreeType Linkage => with freetype GIF Read Support => enabled GIF Create Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled XBM Support => enabled ZLib Support => enabled Compiled Version => 1.2.2 Linked Version => 1.2.2 BUT phpinfo() in Apache said: GD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled ZLib Support enabled Compiled Version 1.2.2 Linked Version 1.2.1 It's looks very strange. I have done many compilings and discovered this: If i exclude GD parameters from configure (don't matter bundled version or external) i get: './configure' '--prefix=/usr/local/php-4.3.11' '--with-config-file-path=/usr/local/php-4.3.11' '--with-mysql=/usr/local/mysql' '--with-mysql-sock=/usr/local/mysql/mysql.sock' '--with-zlib=/usr' '--with-apache=/src/apache/apache_1.3.33' console php said #/usr/local/php-4.3.11/bin/php -i ZLib Support => enabled Compiled Version => 1.2.2 Linked Version => 1.2.2 AND phpinfo() in Apache said: ZLib Support enabled Compiled Version 1.2.2 Linked Version 1.2.2 Can u comment this ??? I don't know how to classify this. Bug? Error Compile? Something else??? Maybi this is Error of budled GD library with Zlib 1.2.1 library? And also why GD bundled library from 4.3.10 PHP DON'T SYNCHRONIZE in 4.3.11 PHP with actual GD library 2.0.33??? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32839&edit=1

« previous php.bugs (#78215) next »