ID:               37489
 Updated by:       [EMAIL PROTECTED]
 Reported By:      thomas at networkphantom dot net
-Status:           Closed
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: CentOS 4.3
 PHP Version:      5.1.4


Previous Comments:
------------------------------------------------------------------------

[2006-05-18 07:24:07] thomas at networkphantom dot net

Looks to be a missing library resulting from a bug in packaged mysql:

http://bugs.mysql.com/bug.php?id=15223

Thank you.

------------------------------------------------------------------------

[2006-05-18 07:12:41] thomas at networkphantom dot net

Description:
------------
Another bug regarding this was reported as bogus, but I have a working
configuration script and a non working and there is only one flag that
differs.

---Working---
./configure --prefix=/usr/local/php5 --exec-prefix=/usr/local/php5
--program-suffix=5 --with-xml --enable-bcmath --enable-calendar
--with-curl --with-dom --with-dom-xslt --with-mysql=/usr
--with-dom-exslt --enable-ftp --with-gd --with-jpeg-dir=/usr/local
--with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext
--with-imap --with-imap-ssl --with-kerberos --enable-magic-quotes
--with-openssl --enable-discard-path --enable-force-cgi-redirect
--with-pdflib --with-pear --with-pspell --enable-xslt
--with-xslt-sablot --enable-sockets --enable-track-vars --with-ttf
--with-freetype-dir=/usr --enable-gd-native-ttf --enable-wddx
--with-xmlrpc --with-zip --with-zlib --with-pgsql --with-pdo

-------

----Not Working----

./configure --prefix=/usr/local/php5 --exec-prefix=/usr/local/php5
--program-suffix=5 --with-xml --enable-bcmath --enable-calendar
--with-curl --with-dom --with-dom-xslt --with-mysql=/usr
--with-dom-exslt --enable-ftp --with-gd --with-jpeg-dir=/usr/local
--with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext
--with-imap --with-imap-ssl --with-kerberos --enable-magic-quotes
--with-openssl --enable-discard-path --enable-force-cgi-redirect
--with-pdflib --with-pear --with-pspell --enable-xslt
--with-xslt-sablot --enable-sockets --enable-track-vars --with-ttf
--with-freetype-dir=/usr --enable-gd-native-ttf --enable-wddx
--with-xmlrpc --with-zip --with-zlib --with-pgsql --with-pdo
--with-pdo-mysql

-----

Error:
libtool: link: cannot find the library `/usr/lib/mysql/libz.la'
make: *** [sapi/cgi/php] Error 1


----

Removing --with-pdo-mysql resolves this as that is the only difference
between the working and non working.  I've also tried compiling pdo and
pdo_mysql as shared, same errors result.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37489&edit=1

Reply via email to