Re: [PHP-DEV] unspecified symbol: uncompress From: Jani Taskinen (sniper <email protected>)
Date: 12/15/00

On Fri, 15 Dec 2000, Ignacio Vazquez-Abrams wrote:

>On Fri, 15 Dec 2000, Sascha Schumann wrote:
>
>> Hu? You are breaking out of the configure script now, if it
>> cannot find libz, regardless of whether libmysqlclient needs
>> libz or not.
>
>Fair enough.
>
>I did some poking around, and I think that you need to link libz.(so|a) when
>$MYSQL_INC_DIR/my_config.h defines HAVE_COMPRESS as 1. I don't have the
>necessary knowledge to modify the m4 file properly, but this should give the
>right person enough info to do it.

This doesn't work because my_config.h is not installed
when you do 'make install' for mysql.

But I guess this could be checked like this:

AC_CHECK_LIB(mysqlclient,my_compress,[
    dnl do the zlib adding magic here
],[
    dnl no need for zlib
])

??

--Jani

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>